Quick Links:

bal | bbl | bdl | bsl

Classes | Public Types | Static Public Member Functions

bsl::allocator_traits< allocator< TYPE > > Struct Template Reference
[Component bslma_stdallocator]

#include <bslma_stdallocator.h>

List of all members.

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 > &)

Detailed Description

template<class TYPE>
struct bsl::allocator_traits< allocator< TYPE > >

This struct template provides a specialization of the allocator_traits class template for bsl::allocator.

See Component bslma_stdallocator


Member Typedef Documentation

template<class TYPE >
typedef allocator<TYPE> bsl::allocator_traits< allocator< TYPE > >::allocator_type

The documentation for this struct was generated from the following file: