Library of Assembled Shared Sources
lass::util::AllocatorClassAdaptor< VariableAllocator, destructionPriority > Class Template Reference

Use an Allocator to implement a class' new and delete. More...

#include <allocator.h>

Inheritance diagram for lass::util::AllocatorClassAdaptor< VariableAllocator, destructionPriority >:

Detailed Description

template<typename VariableAllocator, int destructionPriority = destructionPriorityInternalAllocators>
class lass::util::AllocatorClassAdaptor< VariableAllocator, destructionPriority >

Use an Allocator to implement a class' new and delete.

Derive from this class to implement new and delete based on Allocator. It uses a singleton of Allocator that is shared per <Allocator type, destruction priority> pair. So if you have another class using the same allocator and destruction priority, the allocator singleton will be shared.

Definition at line 143 of file allocator.h.


The documentation for this class was generated from the following file: