Class Allocator

Inheritance Relationships

Derived Type

Class Documentation

class Allocator

Subclassed by gpa::memory::DefaultAllocator

Public Functions

Allocator() = default
Allocator(Allocator const&) = delete
Allocator &operator=(Allocator const&) = delete
virtual ~Allocator()
virtual void *Allocate(size_t nBytes) = 0
virtual void Deallocate(void *memory) = 0
template<typename T, typename ...ConstructorArgs>
inline T *AllocateAndCreateObject(ConstructorArgs... args)
template<typename T>
inline void DestroyAllocatedObject(T *object)