|
| BSLMF_NESTED_TRAIT_DECLARATION (allocator, BloombergLP::bslmf::IsBitwiseCopyable) |
|
| BSLMF_NESTED_TRAIT_DECLARATION (allocator, BloombergLP::bslmf::IsBitwiseEqualityComparable) |
|
| allocator () |
|
| allocator (BloombergLP::bslma::Allocator *mechanism) |
|
| allocator (const allocator &original) BSLS_KEYWORD_NOEXCEPT |
|
template<class ANY_TYPE > |
| allocator (const allocator< ANY_TYPE > &original) BSLS_KEYWORD_NOEXCEPT |
|
| ~allocator () |
|
allocator & | operator= (const allocator &rhs)=default |
|
allocator | select_on_container_copy_construction () const |
| Return a default-constructed allocator.
|
|
| BSLMF_NESTED_TRAIT_DECLARATION (allocator, BloombergLP::bslmf::IsBitwiseCopyable) |
|
| BSLMF_NESTED_TRAIT_DECLARATION (allocator, BloombergLP::bslmf::IsBitwiseEqualityComparable) |
|
| allocator () |
|
| allocator (BloombergLP::bslma::Allocator *mechanism) |
|
| allocator (const allocator &original) BSLS_KEYWORD_NOEXCEPT |
|
| allocator (const allocator< ANY_TYPE > &original) BSLS_KEYWORD_NOEXCEPT |
|
| ~allocator ()=default |
|
BSLMA_BSLALLOCATOR_DEPRECATE_ASSIGN allocator & | operator= (const allocator &rhs) |
|
BSLS_ANNOTATION_NODISCARD pointer | allocate (size_type n, const void *hint=0) |
|
void | deallocate (BloombergLP::bslma::BslAllocator_Voidish *p, std::size_t n=1) |
|
void | construct (ELEMENT_TYPE *address) |
|
void | construct (ELEMENT_TYPE *address, ARG1 &argument1, ARGS &&... arguments) |
|
void | construct (ELEMENT_TYPE *address, BSLS_COMPILERFEATURES_FORWARD_REF(ARG1) argument1, ARGS &&... arguments) |
|
void | destroy (ELEMENT_TYPE *address) |
|
pointer | address (reference x) const |
|
const_pointer | address (const_reference x) const |
|
BSLS_KEYWORD_CONSTEXPR size_type | max_size () const |
|
BloombergLP::bslma::Allocator * | mechanism () const |
|
allocator | select_on_container_copy_construction () const |
| Return a default-constructed allocator.
|
|
| polymorphic_allocator () BSLS_KEYWORD_NOEXCEPT |
|
| polymorphic_allocator (memory_resource *r) |
|
| polymorphic_allocator (const polymorphic_allocator &original) BSLS_KEYWORD_NOEXCEPT |
|
template<class ANY_TYPE > |
| polymorphic_allocator (const polymorphic_allocator< ANY_TYPE > &original) BSLS_KEYWORD_NOEXCEPT |
|
| ~polymorphic_allocator ()=default |
|
BSLS_ANNOTATION_NODISCARD TYPE * | allocate (std::size_t n) |
|
void | deallocate (TYPE *p, std::size_t n) |
|
template<class ELEMENT_TYPE > |
void | construct (ELEMENT_TYPE *address) |
|
template<class ELEMENT_TYPE , class ARG1 , class... ARGS> |
void | construct (ELEMENT_TYPE *address, ARG1 &argument1, ARGS &&... arguments) |
|
template<class ELEMENT_TYPE , class ARG1 , class... ARGS> |
void | construct (ELEMENT_TYPE *address, BSLS_COMPILERFEATURES_FORWARD_REF(ARG1) argument1, ARGS &&... arguments) |
|
template<class ELEMENT_TYPE > |
void | destroy (ELEMENT_TYPE *address) |
|
pointer | address (reference x) const |
|
const_pointer | address (const_reference x) const |
|
BSLS_KEYWORD_CONSTEXPR size_type | max_size () const |
|
memory_resource * | resource () const |
| Return the address of the memory resource supplied on construction.
|
|
polymorphic_allocator | select_on_container_copy_construction () const |
| Return a default-constructed polymorphic_allocator .
|
|
Specialization of allocator<T>
where T
is void
. Does not contain members that are unrepresentable for void
. Note that this specialization may be removed in the future. Use allocator<>
or allocator<char>
instead.