10template <
typename T,
size_t N>
32 template <
typename T2>
59 template <
typename T2>
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
AlignedFreeFunction AlignedFree
Definition: Memory.cpp:62
AlignedAllocateFunction AlignedAllocate
Definition: Memory.cpp:61
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:53
bool operator==(const STLAlignedAllocator< T, N > &) const
Allocators are stateless so assumed to be equal.
Definition: STLAlignedAllocator.h:48
ptrdiff_t difference_type
Definition: STLAlignedAllocator.h:26
pointer allocate(size_type inN)
Allocate memory.
Definition: STLAlignedAllocator.h:36
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:42
STLAlignedAllocator(const STLAlignedAllocator< T2, N > &)
Constructor from other allocator.
Definition: STLAlignedAllocator.h:33
const T * const_pointer
Definition: STLAlignedAllocator.h:18
const T & const_reference
Definition: STLAlignedAllocator.h:23
Converting to allocator for other type.
Definition: STLAlignedAllocator.h:61