![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Adapt a 0 A.D. 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 | |
| STLAllocator () | |
| template<typename V > | |
| STLAllocator (const STLAllocator< V, Backend > &proxy) | |
| T * | allocate (size_t n) |
| void | deallocate (T *ptr, const size_t n) |
Private Attributes | |
| std::shared_ptr< Backend > | allocator |
Friends | |
| template<typename A , class B > | |
| class | STLAllocator |
Adapt a 0 A.D.
-style allocator for usage in STL containers. Use 'Backend' as an underlying allocator.
| using STLAllocator< T, Backend >::is_always_equal = std::false_type |
| using STLAllocator< T, Backend >::pointer = T* |
| using STLAllocator< T, Backend >::value_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |