#include <STL.h>
Public Types | |
using | value_type = Type |
using | pointer = Type* |
using | const_pointer = const Type* |
using | void_pointer = void* |
using | const_void_pointer = const void* |
using | size_type = size_t |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
TAllocator ()=default | |
~TAllocator ()=default | |
template<class U> | |
TAllocator (const TAllocator< U > &other) | |
pointer | allocate (size_type count) |
pointer | allocate (size_type count, const_void_pointer hint) |
void | deallocate (pointer ptr, size_type count) |
size_type | max_size () const |
template<class U, class... Args> | |
void | construct (U *ptr, Args &&... args) |
template<class U> | |
void | destroy (U *ptr) |
using STL::TAllocator< Type >::const_pointer = const Type* |
using STL::TAllocator< Type >::const_void_pointer = const void* |
using STL::TAllocator< Type >::difference_type = std::ptrdiff_t |
using STL::TAllocator< Type >::pointer = Type* |
using STL::TAllocator< Type >::size_type = size_t |
using STL::TAllocator< Type >::value_type = Type |
using STL::TAllocator< Type >::void_pointer = void* |
|
default |
|
default |
|
inline |
|
inline |
Definition at line 34 of file STL.h.
|
inline |
|
inline |
|
inline |
|
inline |