BControlledMemoryObject
Functions
void * |
|
void |
Detailed Description
-
class BControlledMemoryObject
Base class for any class whose objects may have ownership passed across DLL boundaries. Allocation & deallocation need to take place in the sane DLL scope (at least on Windows), this forces it to happen within the stream DLL.
Subclassed by BBaseOpcodeHandler, BStreamFileToolkit
Public Functions
-
void *operator new(size_t size)
force allocation to happen in the stream toolkit’s scope
-
void operator delete(void *p)
force deallocation to happen in the stream toolkit’s scope
-
void *operator new(size_t size)