memory
|
Specialization of the class template reference_storage that is type-erased.
It is triggered by the tag type any_allocator. The specialization can store a reference to any allocator type.
Typedefs | |
using | allocator_type = implementation_defined |
Member Functions | |
template<class RawAllocator > | |
reference_storage (RawAllocator &alloc) noexcept | |
template<class RawAllocator > | |
reference_storage (const RawAllocator &alloc,) noexcept | |
It will not store anything, only creates the allocator as needed. | |
reference_storage (const implementation_defined &alloc) noexcept | |
reference_storage (implementation_defined &alloc) noexcept | |
allocator_type & | get_allocator () const noexcept |
reference_storage (const reference_storage &other) noexcept | |
reference_storage & | operator= (const reference_storage &other) noexcept |
|
noexcept |
|
noexcept |
It will not store anything, only creates the allocator as needed.
RawAllocator
is stateless.
|
noexcept |
|
noexcept |
|
noexcept |
reference_storage
object. It only copies the pointer to the allocator.
|
noexcept |
reference_storage
object. It only copies the pointer to the allocator.
|
noexcept |