13template <
class T, std::size_t N>
49 return new (std::align_val_t(N)) value_type[n];
54 operator
delete[](p, std::align_val_t(N));
58template <
class T, std::size_t NT,
class U, std::size_t NU>
64template <
class T, std::size_t NT,
class U, std::size_t NU>
Definition: aligned_allocator.hpp:15
constexpr AlignedAllocator(AlignedAllocator< U, N > const &) noexcept
Definition: aligned_allocator.hpp:32
~AlignedAllocator()=default
constexpr AlignedAllocator(AlignedAllocator const &x)=default
constexpr AlignedAllocator & operator=(AlignedAllocator const &x)=default
constexpr AlignedAllocator(AlignedAllocator &&x) noexcept=default
constexpr AlignedAllocator()=default
void deallocate(T *p, std::size_t) const
Definition: aligned_allocator.hpp:52
constexpr AlignedAllocator & operator=(AlignedAllocator &&x) noexcept=default
constexpr AlignedAllocator & operator=(AlignedAllocator< U, N > const &) noexcept
Definition: aligned_allocator.hpp:43
T * allocate(std::size_t n) const
Definition: aligned_allocator.hpp:47
Definition: aligned_allocator.hpp:21
Definition: aligned_allocator.hpp:11
constexpr bool operator!=(AlignedAllocator< T, NT > const &, AlignedAllocator< U, NU > const &) noexcept
Definition: aligned_allocator.hpp:65
constexpr bool operator==(AlignedAllocator< T, NT > const &, AlignedAllocator< U, NU > const &) noexcept
Definition: aligned_allocator.hpp:59