![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Proxies allocation to another allocator. More...
#include <STLAllocators.h>
Classes | |
| struct | rebind |
Public Types | |
| using | value_type = T |
| using | pointer = T * |
| using | is_always_equal = std::false_type |
Public Member Functions | |
| ProxyAllocator (Backend &alloc) | |
| template<typename V > | |
| ProxyAllocator (const ProxyAllocator< V, Backend > &proxy) | |
| T * | allocate (size_t n) |
| void | deallocate (T *ptr, const size_t n) |
Private Attributes | |
| Backend & | allocator |
Friends | |
| template<typename A , class B > | |
| class | ProxyAllocator |
Proxies allocation to another allocator.
This allows a single allocator to serve multiple STL containers.
| using ProxyAllocator< T, Backend >::is_always_equal = std::false_type |
| using ProxyAllocator< T, Backend >::pointer = T* |
| using ProxyAllocator< T, Backend >::value_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |