is it placement new?
I read that the placement new looks like:
void* SomeClass::operator new(size_t, void* location)
If for some reason, I overload the operator new as:
void* SomeClass::operator new(size_t, unsigned int locationIndex)
Am I defining another placement new? Or what to call it,
"my overloaded operator new"?
BTW, should I #include <new> for my overloaded operator new?
I didn't but it compiles (on VC++6.0).
Thanks and best regards,
|All times are GMT. The time now is 12:30 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.