shared
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
CleanupHandler< T > Class Template Referenceabstract

An object which manages some resource. More...

#include <Common.hpp>

Public Member Functions

virtual T get ()=0
 Gets the resource.
 

Detailed Description

template<class T>
class CleanupHandler< T >

An object which manages some resource.

Its life cycle is tied to the local scope.