Open CASCADE Technology Reference Manual
8.0.2
Loading...
Searching...
No Matches
NCollection_DefineAlloc.hxx File Reference
#include <
NCollection_BaseAllocator.hxx
>
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, \
const
occ::handle<NCollection_BaseAllocator>
& theAllocator) \
{ \
theAllocator->Free(theAddress); \
}
occ::handle
opencascade::handle< T > handle
Intrusive smart pointer template for Standard_Transient descendants. This is an alias to opencascade:...
Definition
Standard_Handle.hxx:421
src
FoundationClasses
TKernel
NCollection
NCollection_DefineAlloc.hxx
Generated by
1.14.0