OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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