34 template <
typename T2>
61 template <
typename T2>
unsigned int uint
Definition: Core.h:439
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
STL allocator that wraps around TempAllocator.
Definition: STLTempAllocator.h:14
T * pointer
Pointer to type.
Definition: STLTempAllocator.h:19
bool operator==(const STLTempAllocator< T > &) const
Allocators are stateless so assumed to be equal.
Definition: STLTempAllocator.h:50
T & reference
Definition: STLTempAllocator.h:24
ptrdiff_t difference_type
Definition: STLTempAllocator.h:28
STLTempAllocator(const STLTempAllocator< T2 > &inRHS)
Constructor from other allocator.
Definition: STLTempAllocator.h:35
pointer allocate(size_type inN)
Allocate memory.
Definition: STLTempAllocator.h:38
STLTempAllocator(TempAllocator &inAllocator)
Constructor.
Definition: STLTempAllocator.h:31
bool operator!=(const STLTempAllocator< T > &) const
Definition: STLTempAllocator.h:55
const T & const_reference
Definition: STLTempAllocator.h:25
const T * const_pointer
Definition: STLTempAllocator.h:20
void deallocate(pointer inPointer, size_type inN)
Free memory.
Definition: STLTempAllocator.h:44
size_t size_type
Definition: STLTempAllocator.h:27
TempAllocator & GetAllocator() const
Get our temp allocator.
Definition: STLTempAllocator.h:68
T value_type
Definition: STLTempAllocator.h:16
Definition: TempAllocator.h:16
virtual void Free(void *inAddress, uint inSize)=0
Frees inSize bytes of memory located at inAddress.
virtual void * Allocate(uint inSize)=0
Allocates inSize bytes of memory, returned memory address must be JPH_RVECTOR_ALIGNMENT byte aligned.
Converting to allocator for other type.
Definition: STLTempAllocator.h:63