Classes | |
struct | rebind |
Public Types | |
using | const_pointer = const T * |
using | const_reference = const T & |
using | difference_type = std::ptrdiff_t |
using | pointer = T * |
using | propagate_on_container_move_assignment = std::true_type |
using | reference = T & |
using | size_type = std::size_t |
using | value_type = T |
Public Member Functions | |
const_pointer | address (const_reference x) const noexcept |
pointer | address (reference x) const noexcept |
pointer | allocate (size_type n, const void *=0) |
template<typename U , typename... Args> | |
void | construct (U *p, Args &&... args) |
custom_allocator ()=default | |
custom_allocator (const custom_allocator &)=default | |
template<typename U > | |
custom_allocator (const custom_allocator< U > &) | |
void | deallocate (T *p, size_type) |
template<typename U > | |
void | destroy (U *p) |
size_type | max_size () const noexcept |
Definition at line 40 of file custom_allocator_tests.cpp.
using custom_allocator< T >::const_pointer = const T* |
Definition at line 44 of file custom_allocator_tests.cpp.
using custom_allocator< T >::const_reference = const T& |
Definition at line 46 of file custom_allocator_tests.cpp.
using custom_allocator< T >::difference_type = std::ptrdiff_t |
Definition at line 48 of file custom_allocator_tests.cpp.
using custom_allocator< T >::pointer = T* |
Definition at line 43 of file custom_allocator_tests.cpp.
using custom_allocator< T >::propagate_on_container_move_assignment = std::true_type |
Definition at line 49 of file custom_allocator_tests.cpp.
using custom_allocator< T >::reference = T& |
Definition at line 45 of file custom_allocator_tests.cpp.
using custom_allocator< T >::size_type = std::size_t |
Definition at line 47 of file custom_allocator_tests.cpp.
using custom_allocator< T >::value_type = T |
Definition at line 42 of file custom_allocator_tests.cpp.
|
default |
|
default |
|
inline |
Definition at line 60 of file custom_allocator_tests.cpp.
|
inlinenoexcept |
Definition at line 64 of file custom_allocator_tests.cpp.
|
inlinenoexcept |
Definition at line 62 of file custom_allocator_tests.cpp.
|
inline |
Definition at line 66 of file custom_allocator_tests.cpp.
|
inline |
Definition at line 88 of file custom_allocator_tests.cpp.
|
inline |
Definition at line 81 of file custom_allocator_tests.cpp.
Definition at line 93 of file custom_allocator_tests.cpp.
|
inlinenoexcept |
Definition at line 83 of file custom_allocator_tests.cpp.