amino
1.0-beta2
Lightweight Robot Utility Library
|
An STL allocator that allocates out of a memory region. More...
#include <mem.hpp>
Classes | |
struct | rebind |
Public Member Functions | |
RegionAllocator (aa_mem_region_t *r) | |
RegionAllocator (const RegionAllocator &other) | |
template<class U > | |
RegionAllocator (const RegionAllocator< U > &other) | |
pointer | address (reference r) |
const_pointer | address (const_reference r) |
pointer | allocate (size_type cnt, typename std::allocator< void >::const_pointer=0) |
void | deallocate (pointer p, size_type) |
size_type | max_size () const |
template<class U > | |
RegionAllocator & | operator= (const RegionAllocator< U > &) |
void | construct (pointer p, const T &t) |
void | destroy (pointer p) |
bool | operator== (RegionAllocator const &a) |
bool | operator!= (RegionAllocator const &a) |
Public Attributes | |
aa_mem_region * | region |
An STL allocator that allocates out of a memory region.