memory
|
Specialization of allocator_deleter for array types.
Otherwise the same behavior.
Typedefs | |
using | allocator_type = typename allocator_reference< RawAllocator >::allocator_type |
using | value_type = Type |
Member Functions | |
allocator_deleter () noexcept | |
allocator_deleter (allocator_reference< RawAllocator > alloc, std::size_t size) noexcept | |
void | operator() (value_type *pointer) noexcept |
auto | get_allocator () const noexcept -> decltype(std::declval< allocator_reference< allocator_type > >().get_allocator()) |
std::size_t | array_size () const noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
deallocate_array
(pointer, size, sizeof(value_type), alignof(value_type)) on the referenced allocator object with the size given in the constructor for the deallocation.
|
noexcept |
|
noexcept |
0
if it was created by the default constructor.