|
Cogs.Foundation
|
#include <StdAllocator.h>
Public Types | |
| using | value_type = T |
| using | pointer = T * |
| using | size_type = size_t |
Public Member Functions | |
| StdAllocator ()=default | |
| StdAllocator (Allocator *allocator) | |
| template<typename U > | |
| StdAllocator (const StdAllocator< U > &other) | |
| pointer | allocate (size_type n) |
| void | deallocate (pointer p, size_type n) |
Private Attributes | |
| Allocator * | allocator = Allocator::defaultAllocator() |
Friends | |
| template<typename U > | |
| class | StdAllocator |
| using Cogs::Memory::StdAllocator< T >::pointer = T * |
| using Cogs::Memory::StdAllocator< T >::size_type = size_t |
| using Cogs::Memory::StdAllocator< T >::value_type = T |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |