allocator [constructor] | Constructors |
operator= | Modify this allocator to use the same mechanism as the specified rhs allocator and return a modifiable reference to this object. Note that bsl::allocator objects should never be assigned at runtime, but, in the absence of if constexpr, such assignments can sometimes be found legitimately in dead branches (branches that are never taken at runtime) within function templates; ideally, such code would be replaced by more sophisticated metaprogramming that avoided calls to this operator entirely. Invoking this assignment will result in a review error unless rhs == *this, i.e., when the assignment would be a no-op. In the future, the review error may be replaced with an a hard assertion failure. |
address | Return the address of the object referred to by the specified x reference, even if the (template parameter) TYPE overloads the unary operator&. |
allocate | |
construct | construct overloads |
deallocate | Deallocate a block of memory at the specified p address by returning it to the memory resource held by this allocator. Optionally specify the number of objects, n, to deallocate. The behavior is undefined unless p is the address of a block previously allocated by a call to allocate with the same n from a copy of this allocator having the same value_type and not yet deallocated. |
destroy | Call the TYPE destructor for the object pointed to by the specified address. Do not directly deallocate any memory. |
max_size | |
mechanism | Return a pointer to the mechanism object to which this proxy forwards allocation and deallocation calls. |
select_on_container_copy_construction | Return a default-constructed allocator. |
operator BloombergLP::bslmf::NestedTraitDeclaration<allocator<BslAllocator_Voidish>, IsBitwiseEqualityComparable> | |
operator BloombergLP::bslmf::NestedTraitDeclaration<allocator<void>, IsBitwiseEqualityComparable> | |