API Documentation
Public Member Functions | List of all members
nkMemory::Deallocator< T > Class Template Referenceabstract

Interface used for deallocating memory. More...

Inheritance diagram for nkMemory::Deallocator< T >:
nkMemory::DefaultDeallocator< T >

Public Member Functions

virtual ~Deallocator ()=default
 
virtual void deallocate (T *object)=0
 

Detailed Description

template<typename T>
class nkMemory::Deallocator< T >

Interface used for deallocating memory.

Constructor & Destructor Documentation

◆ ~Deallocator()

template<typename T >
virtual nkMemory::Deallocator< T >::~Deallocator ( )
virtualdefault

Destructor.

Member Function Documentation

◆ deallocate()

template<typename T >
virtual void nkMemory::Deallocator< T >::deallocate ( T *  object)
pure virtual

Deallocation function. Called when an object has to be deleted.

Parameters
objectThe object to deallocate.

Implemented in nkMemory::DefaultDeallocator< T >.


The documentation for this class was generated from the following file: