Bond 0.9
C++ Bond Runtime Library API Documentation
|
A custom unique_ptr deleter that deallocates aligned memory by calling Allocator::FreeAligned, rather than the delete operator. The memory is only freed; no object destruction is performed. More...
#include <bond/systems/allocator.h>
Public Member Functions | |
AlignedDeallocator (Allocator *allocator=nullptr) | |
void | operator() (T *ptr) |
Public Attributes | |
Allocator * | mAllocator |
A custom unique_ptr deleter that deallocates aligned memory by calling Allocator::FreeAligned, rather than the delete operator. The memory is only freed; no object destruction is performed.
|
inlineexplicit |
|
inline |
Allocator* Bond::Allocator::AlignedDeallocator< T >::mAllocator |