Specialization of allocator for void.
Synopsis
Declared in <bslma_bslallocator.h>
template<>
class allocator<void>
: public allocator<BloombergLP::bslma::BslAllocator_Voidish>
Description
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.
Base Classes
Name |
Description |
An STL‐compatible allocator that forwards to a |
Types
Name |
Description |
Rebind this allocator to another type. |
Type Aliases
Name |
Description |
This |
|
This |
|
This |
|
Difference type for allocations from this allocator. |
|
This |
|
This |
|
Size type for allocations from this allocator. |
|
This |
|
This |
Member Functions
Name |
Description |
|
Constructors |
Assign this allocator from the specified |
|
Return the address of the specified object |
|
Return storage for |
|
|
|
Deallocate the memory block at the specified |
|
Call the destructor for the object at the specified |
|
Return the maximum number of elements allocatable by this allocator. |
|
Return a pointer to the mechanism object to which this proxy forwards allocation and deallocation calls. |
|
|
Return a default‐constructed allocator. |
Return a tag declaring that this allocator is bitwise copyable. |
|
|
Declare that this type is bitwise copyable. |
Created with MrDocs