memory
|
A deleter class that deallocates the memory through a specified RawAllocator.
It deallocates memory for a specified type but does not call its destructors.
Typedefs | |
using | allocator_type = typename allocator_reference< RawAllocator >::allocator_type |
using | value_type = Type |
Member Functions | |
allocator_deallocator () noexcept=default | |
allocator_deallocator (allocator_reference< RawAllocator > alloc) noexcept | |
void | operator() (value_type *pointer) noexcept |
auto | get_allocator () const noexcept -> decltype(std::declval< allocator_reference< allocator_type > >().get_allocator()) |
|
defaultnoexcept |
|
noexcept |
|
noexcept |
deallocate_node
(pointer, sizeof(value_type), alignof(value_type)) on the referenced allocator object.
|
noexcept |