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.
Synopsis
Declared in <bslma_bslallocator.h>
template<>
class allocator<void>
: public allocator<BloombergLP::bslma::BslAllocator_Voidish>
Base Classes
Name |
Description |
An STL‐compatible allocator that forwards allocation calls to an underlying mechanism object of a type derived from |
Types
Name |
Description |
This nested |
Type Aliases
Name |
Description |
This |
|
Difference type for allocations from this allocator. |
|
This |
|
Size type for allocations from this allocator. |
|
Member Functions
Name |
Description |
|
Constructors |
Modify this allocator to use the same mechanism as the specified |
|
Return the address of the object referred to by the specified |
|
|
|
Deallocate a block of memory at the specified |
|
Call the |
|
Return a pointer to the mechanism object to which this proxy forwards allocation and deallocation calls. |
|
|
Return a default‐constructed allocator. |
|
Created with MrDocs