19#if __cpp_aligned_new < 201606
20# pragma GCC warning "Non-C++17 compliant compiler! Please open an issue with your compiler and platform!"
72template <
typename value_t,
size_t alignment_v = __STDCPP_DEFAULT_NEW_ALIGNMENT__>
102 template <
class other_value_type,
size_t other_alignment>
185#if __cpp_sized_deallocation >= 201309
195 ::operator
delete(p);
211 template <
typename new_value_type>
224 template <
class value_type2,
size_t alignment2>
231 template <
class value_type2,
size_t alignment2>
Allocates uninitialized storage whose memory-alignment is specified by alignment.
Definition aligned_allocator.hpp:74
value_t value_type
The value type of the allocation.
Definition aligned_allocator.hpp:80
void deallocate(pointer const p, size_type const n) const noexcept
Deallocates the storage referenced by the pointer p, which must be a pointer obtained by an earlier c...
Definition aligned_allocator.hpp:177
constexpr bool operator==(aligned_allocator< value_type2, alignment2 > const &) noexcept
Returns true if the memory-alignment matches.
Definition aligned_allocator.hpp:225
aligned_allocator & operator=(aligned_allocator &&)=default
Defaulted.
pointer allocate(size_type const n) const
Allocates sufficiently large memory to hold n many elements of value_type.
Definition aligned_allocator.hpp:138
aligned_allocator & operator=(aligned_allocator const &)=default
Defaulted.
constexpr aligned_allocator(aligned_allocator< other_value_type, other_alignment > const &) noexcept
Copy constructor with different value type and alignment.
Definition aligned_allocator.hpp:103
~aligned_allocator()=default
Defaulted.
constexpr bool operator!=(aligned_allocator< value_type2, alignment2 > const &) noexcept
Returns false if the memory-alignment mismatches.
Definition aligned_allocator.hpp:232
aligned_allocator(aligned_allocator const &)=default
Defaulted.
static constexpr size_t alignment
The memory-alignment of the allocation.
Definition aligned_allocator.hpp:77
aligned_allocator(aligned_allocator &&)=default
Defaulted.
aligned_allocator()=default
Defaulted.
typename std::pointer_traits< pointer >::difference_type difference_type
The difference type of the allocation.
Definition aligned_allocator.hpp:84
A "pretty printer" for most SeqAn data structures and related types.
Definition debug_stream_type.hpp:79
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
The aligned_allocator member template class aligned_allocator::rebind provides a way to obtain an all...
Definition aligned_allocator.hpp:213
static constexpr size_t other_alignment
The alignment for the rebound allocator.
Definition aligned_allocator.hpp:215