Open CASCADE Technology 6.6.0
Defines
NCollection_DefineAlloc.hxx File Reference
#include <NCollection_BaseAllocator.hxx>

Defines

#define DEFINE_NCOLLECTION_ALLOC

Define Documentation

#define DEFINE_NCOLLECTION_ALLOC
Value:
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);                                             \
   }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines