Lines Matching refs:Alignment
14 template <typename T, size_t Alignment>
17 template <size_t Alignment>
18 class AlignedAllocator<void, Alignment> {
26 typedef AlignedAllocator<U, Alignment> other;
30 template <typename T, size_t Alignment>
47 typedef AlignedAllocator<U, Alignment> other;
55 const AlignedAllocator<U, Alignment>& other) noexcept {} in AlignedAllocator()
58 return (std::numeric_limits<size_type>::max() - size_type(Alignment)) / in max_size()
72 typename AlignedAllocator<void, Alignment>::const_pointer hint = 0) {
74 void* memory = memalign(Alignment, n * sizeof(T));
82 if (posix_memalign(&memory, Alignment, n * sizeof(T)) != 0) {