API Documentation
Allocator.h
1 // Allocator.h
3 //
5 
6 namespace nkMemory
7 {
13  template <typename T>
14  class Allocator
15  {
16  public :
17 
21  Allocator () noexcept = default ;
25  virtual ~Allocator () = default ;
26 
32  virtual T* allocate () = 0 ;
33  } ;
34 }
nkMemory::Allocator::Allocator
Allocator() noexcept=default
nkMemory::Allocator
Interface representing an allocator, supposed to allocate an object when requested.
Definition: Allocator.h:15
nkMemory::Allocator::allocate
virtual T * allocate()=0
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7