Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
voldacar
5y ago
0 comments
Save
Share
have fun trying to globally override new and delete in C++
(hint: there is no way to do this)
0 comments
1 comments · 1 top-level
top
newest
oldest
cycloptic
5y ago
Are you sure?
https://en.cppreference.com/w/cpp/memory/new/operator_new#Gl...
You don't need to do this if you're using allocators.
j
/
k
navigate · click thread line to collapse