The aligned_allocator member template class aligned_allocator::rebind provides a way to obtain an allocator for a different type. More...
#include <bio/ranges/container/aligned_allocator.hpp>
Public Types | |
using | other = aligned_allocator< new_value_type, other_alignment > |
The type of the allocator for a different value type. | |
Static Public Attributes | |
static constexpr size_t | other_alignment = std::max(alignof(new_value_type), alignment) |
The alignment for the rebound allocator. | |
The aligned_allocator member template class aligned_allocator::rebind provides a way to obtain an allocator for a different type.
new_value_type | The other value type. |
If the alignment of the new type exceeds the alignment of the current allocator, the larger alignment will be used.