Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Deletor< T > Class Template Reference

#include <elm/util/Cleaner.h>

+ Inheritance diagram for Deletor< T >:

Public Member Functions

 Deletor (T *object)
 
virtual ~Deletor (void)
 
virtual void clean (void)
 
- Public Member Functions inherited from Cleaner
virtual ~Cleaner (void)
 

Detailed Description

template<class T>
class elm::Deletor< T >

A deletor is a cleaner that invoke delete on a passed pointer.

Parameters
TType of the deleted object.

Constructor & Destructor Documentation

◆ Deletor()

Deletor ( T *  object)
inline

Build a deletor on the given object.

Parameters
objectObject to delete at cleanup. @seealso deletor()

◆ ~Deletor()

virtual ~Deletor ( void  )
inlinevirtual

Member Function Documentation

◆ clean()

virtual void clean ( void  )
inlinevirtual

Reimplemented from Cleaner.


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