Protium
Math and Design Features
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Protium::Singleton::Adapter< T > Struct Template Reference

Deletion Adapter class. More...

#include <DeletionPolicies.h>

Public Member Functions

void operator() (T *)
 To be used as a callback. More...
 

Public Attributes

exit_function_pointer_type fFun
 The Function to be called when the object is deleted. More...
 

Detailed Description

template<class T>
struct Protium::Singleton::Adapter< T >

Deletion Adapter class.

Definition at line 32 of file DeletionPolicies.h.

Member Function Documentation

template<class T>
void Protium::Singleton::Adapter< T >::operator() ( T *  )
inline

To be used as a callback.

Definition at line 36 of file DeletionPolicies.h.

Member Data Documentation

The Function to be called when the object is deleted.

Definition at line 34 of file DeletionPolicies.h.