A utility default deallocator using a simple call to delete. More...
Public Member Functions | |
virtual | ~DefaultDeallocator ()=default |
virtual void | deallocate (T *object) override |
Public Member Functions inherited from nkMemory::Deallocator< T > | |
virtual | ~Deallocator ()=default |
A utility default deallocator using a simple call to delete.
|
virtualdefault |
Destructor.
|
overridevirtual |
Default deallocation implementation using the delete operator. If more complex logic is needed, external code needs to reimplement their own Deallocator.
object | The object to deallocate. |
Implements nkMemory::Deallocator< T >.