memory
|
A StoragePolicy that stores the allocator directly.
It embeds the allocator inside it, i.e. moving the storage policy will move the allocator.
Typedefs | |
using | allocator_type = typename allocator_traits< RawAllocator >::allocator_type |
Member Functions | |
direct_storage ()=default | |
direct_storage (allocator_type &&allocator) noexcept | |
direct_storage (direct_storage &&other) noexcept | |
direct_storage & | operator= (direct_storage &&other) noexcept |
allocator_type & | get_allocator () noexcept |
const allocator_type & | get_allocator () const noexcept |
|
default |
RawAllcoator
must be default constructible.
|
noexcept |
|
noexcept |
direct_storage
object. This will move the stored allocator.
|
noexcept |
direct_storage
object. This will move the stored allocator.
|
noexcept |
const
) reference to the stored allocator.
|
noexcept |
const
) reference to the stored allocator.