Loki::SingletonWithLongevity< T > Struct Template Reference
[Lifetime policies]

#include <Singleton.h>

List of all members.

Static Public Member Functions

static void ScheduleDestruction (T *pObj, atexit_pfn_t pFun)
static void OnDeadReference ()

Detailed Description

template<class T>
struct Loki::SingletonWithLongevity< T >

Implementation of the LifetimePolicy used by SingletonHolder Schedules an object's destruction in order of their longevities Assumes a visible function GetLongevity(T*) that returns the longevity of the object.

Definition at line 496 of file Singleton.h.

The documentation for this struct was generated from the following file:
Generated on Sun Feb 25 16:52:46 2007 for Loki by  doxygen 1.5.1-p1