Template Class AlignedAllocator¶
Defined in File alignedallocator.hpp
Class Documentation¶
-
template<typename
T, unsigned intAlignment>
classqhipster::AlignedAllocator¶ An allocator returning aligned memory.
This class provides an aligned C++98 and C++11 conforming allocator.
- Pre
The alignment must be a power of 2.
Public Functions
-
AlignedAllocator()¶
-
AlignedAllocator(AlignedAllocator const&)¶
-
template<typename
U>AlignedAllocator(AlignedAllocator<U, Alignment> const&)¶
-
void
construct(pointer p, const_reference t)¶
-
bool
operator==(AlignedAllocator const&) const¶
-
bool
operator!=(AlignedAllocator const&) const¶
-
template<typename
U, unsigned intUAlignment>
booloperator==(AlignedAllocator<U, UAlignment> const&) const¶
-
template<typename
U, unsigned intUAlignment>
booloperator!=(AlignedAllocator<U, UAlignment> const&) const¶
-
template<typename
U>
structrebind¶ Public Types
-
typedef AlignedAllocator<U, Alignment>
other¶
-
typedef AlignedAllocator<U, Alignment>