Open CASCADE Technology Reference Manual
8.0.0
Loading...
Searching...
No Matches
src
FoundationClasses
TKernel
NCollection
Macros
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); \
}
opencascade::handle
Intrusive smart pointer for use with Standard_Transient class and its descendants.
Definition
Standard_Handle.hxx:54
Generated by
1.10.0