- cpp3ds
- LinearAllocator
This allocator class is useful for when you want to use a STL container (e.g. More...
#include <LinearAllocator.hpp>
Classes | |
| struct | rebind |
Public Member Functions | |
| LinearAllocator (const LinearAllocator &__a) throw () | |
| template<typename T1 > | |
| LinearAllocator (const LinearAllocator< T1 > &) throw () | |
| pointer | allocate (size_type __n, const void *=0) |
| void | deallocate (pointer __p, size_type) |
| size_type | max_size () const |
This allocator class is useful for when you want to use a STL container (e.g.
std::vector) that allocates everything using ctrulib's linear memory.
Definition at line 13 of file LinearAllocator.hpp.