Quick Links: |
#include <bslma_stdallocator.h>
Classes | |
struct | rebind_alloc |
struct | rebind_traits |
Public Types | |
typedef allocator< TYPE > | allocator_type |
typedef TYPE | value_type |
typedef TYPE * | pointer |
typedef const TYPE * | const_pointer |
typedef void * | void_pointer |
typedef const void * | const_void_pointer |
typedef std::ptrdiff_t | difference_type |
typedef std::size_t | size_type |
typedef false_type | is_always_equal |
typedef false_type | propagate_on_container_copy_assignment |
typedef false_type | propagate_on_container_move_assignment |
typedef false_type | propagate_on_container_swap |
Static Public Member Functions | |
static pointer | allocate (allocator< TYPE > &m, size_type n) |
static pointer | allocate (allocator< TYPE > &m, size_type n, const_void_pointer hint) |
static void | deallocate (allocator< TYPE > &m, pointer p, size_type n) |
template<class ELEMENT_TYPE , class... Args> | |
static void | construct (allocator< TYPE > &m, ELEMENT_TYPE *p, Args &&...arguments) |
template<class ELEMENT_TYPE > | |
static void | destroy (allocator< TYPE > &m, ELEMENT_TYPE *p) |
static size_type | max_size (const allocator< TYPE > &m) |
static allocator< TYPE > | select_on_container_copy_construction (const allocator< TYPE > &) |
This struct
template provides a specialization of the allocator_traits
class template for bsl::allocator
.
See Component bslma_stdallocator
typedef allocator<TYPE> bsl::allocator_traits< allocator< TYPE > >::allocator_type |