API Documentation
DefaultDeallocator.h
1 // DefaultDeallocator.h
3 //
5 
6 namespace nkMemory
7 {
11  template <typename T>
12  class DefaultDeallocator final : public Deallocator<T>
13  {
14  public :
15 
19  virtual ~DefaultDeallocator () = default ;
20 
27  virtual void deallocate (T* object) override ;
28  } ;
29 }
nkMemory::DefaultDeallocator::deallocate
virtual void deallocate(T *object) override
nkMemory::DefaultDeallocator
A utility default deallocator using a simple call to delete.
Definition: DefaultDeallocator.h:13
nkMemory::DefaultDeallocator::~DefaultDeallocator
virtual ~DefaultDeallocator()=default
nkMemory::Deallocator
Interface used for deallocating memory.
Definition: Deallocator.h:13
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7