Synopsis
Declared in <bslma_allocatortraits.h>
template<class ALLOCATOR_TYPE>
struct allocator_traits<std::allocator<ALLOCATOR_TYPE>>
: std::allocator_traits<std::allocator<ALLOCATOR_TYPE>>
Base Classes
Name |
Description |
|
Uniform interface to all allocator types. |
Type Aliases
Name |
Description |
The allocator type |
|
The allocator's const pointer type. |
|
The allocator's const void pointer type. |
|
The allocator's difference type |
|
Whether all instances of the allocator type compare equal. |
|
The allocator's pointer type. |
|
|
How the allocator is propagated on copy assignment |
|
How the allocator is propagated on move assignment |
How the allocator is propagated on swap |
|
The allocator's size type |
|
The allocated type |
|
The allocator's void pointer type. |
Static Member Functions
Name |
Description |
Allocate memory. |
|
Construct an object of type |
|
Deallocate memory. |
|
Destroy an object of type _Tp |
|
The maximum supported allocation size |
|
|
Obtain an allocator to use when copying a container. |
Created with MrDocs