Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
NCollection_DefineAlloc.hxx File Reference

Macros

#define DEFINE_NCOLLECTION_ALLOC

Macro Definition Documentation

◆ DEFINE_NCOLLECTION_ALLOC

#define DEFINE_NCOLLECTION_ALLOC
Value:
void* operator new(size_t theSize, const occ::handle<NCollection_BaseAllocator>& theAllocator) \
{ \
return theAllocator->Allocate(theSize); \
} \
void operator delete(void* theAddress, \
{ \
theAllocator->Free(theAddress); \
}
opencascade::handle< T > handle
Intrusive smart pointer template for Standard_Transient descendants. This is an alias to opencascade:...
Definition Standard_Handle.hxx:421