N
notme
I have code with lots of "new int..." etc..
I'd like to replace every instance with "new(allocInfo) int" (that is, using
placement new)
I tried doing:
#define new (new(allocInfo))
but that doesn't work... any hints?
Thanks!
I'd like to replace every instance with "new(allocInfo) int" (that is, using
placement new)
I tried doing:
#define new (new(allocInfo))
but that doesn't work... any hints?
Thanks!