Open CASCADE Technology 6.6.0
|
#include <NCollection_BaseAllocator.hxx>
Defines | |
#define | DEFINE_NCOLLECTION_ALLOC |
#define DEFINE_NCOLLECTION_ALLOC |
void* operator new (size_t theSize, \ const Handle(NCollection_BaseAllocator)& theAllocator) \ { \ return theAllocator->Allocate(theSize); \ } \ void operator delete (void* theAddress, \ const Handle(NCollection_BaseAllocator)& theAllocator) \ { \ theAllocator->Free(theAddress); \ }