10template <
typename T,
size_t N>
38 template <
typename T2>
65 template <
typename T2>
#define JPH_NAMESPACE_END
Definition: Core.h:378
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:372
AlignedFreeFunction AlignedFree
Definition: Memory.cpp:72
AlignedAllocateFunction AlignedAllocate
Definition: Memory.cpp:71
STL allocator that takes care that memory is aligned to N bytes.
Definition: STLAlignedAllocator.h:12
size_t size_type
Definition: STLAlignedAllocator.h:25
T * pointer
Pointer to type.
Definition: STLAlignedAllocator.h:17
bool operator!=(const STLAlignedAllocator< T, N > &) const
Definition: STLAlignedAllocator.h:59
bool operator==(const STLAlignedAllocator< T, N > &) const
Allocators are stateless so assumed to be equal.
Definition: STLAlignedAllocator.h:54
std::true_type propagate_on_container_move_assignment
Allocator supports moving.
Definition: STLAlignedAllocator.h:32
ptrdiff_t difference_type
Definition: STLAlignedAllocator.h:26
pointer allocate(size_type inN)
Allocate memory.
Definition: STLAlignedAllocator.h:42
T value_type
Definition: STLAlignedAllocator.h:14
STLAlignedAllocator()=default
Constructor.
T & reference
Definition: STLAlignedAllocator.h:22
void deallocate(pointer inPointer, size_type)
Free memory.
Definition: STLAlignedAllocator.h:48
STLAlignedAllocator(const STLAlignedAllocator< T2, N > &)
Constructor from other allocator.
Definition: STLAlignedAllocator.h:39
const T * const_pointer
Definition: STLAlignedAllocator.h:18
const T & const_reference
Definition: STLAlignedAllocator.h:23
std::true_type is_always_equal
The allocator is stateless.
Definition: STLAlignedAllocator.h:29
Converting to allocator for other type.
Definition: STLAlignedAllocator.h:67