Bond 0.9
C++ Bond Runtime Library API Documentation
|
A custom unique_ptr deleter that destroys an object by calling its destructor then freeing its memory by calling Allocator::Free rather than the delete operator. More...
#include <bond/systems/allocator.h>
Public Member Functions | |
ObjectDeallocator (Allocator *allocator=nullptr) | |
void | operator() (T *ptr) |
Public Attributes | |
Allocator * | mAllocator |
A custom unique_ptr deleter that destroys an object by calling its destructor then freeing its memory by calling Allocator::Free rather than the delete operator.
|
inlineexplicit |
|
inline |
Allocator* Bond::Allocator::ObjectDeallocator< T >::mAllocator |