BControlledMemoryObject Class Reference

#include <BStreamFileToolkit.h>

Public Member Functions

void operator delete (void *p)
 force deallocation to happen in the stream toolkit's scope
 
void * operator new (size_t size)
 force allocation to happen in the stream toolkit's scope
 

Detailed Description

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.


The documentation for this class was generated from the following file: