Library of Assembled Shared Sources
|
Use an Allocator to implement a class' new and delete. More...
#include <allocator.h>
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.