#include <SingletonLifetimePolicies.h>
Static Public Member Functions | |
static void | onDeadReference () |
static void | scheduleDestruction (DestructionFuncPtr f) |
Default lifetime policy for singletons. The destruction of the singleton instance is scheduled using atexit(). In case an instance is accessed after its destruction, std::logic_error is thrown.
Definition at line 49 of file SingletonLifetimePolicies.h.
static void icl_core::SLPDefaultLifetime< T >::onDeadReference | ( | ) | [inline, static] |
Definition at line 57 of file SingletonLifetimePolicies.h.
static void icl_core::SLPDefaultLifetime< T >::scheduleDestruction | ( | DestructionFuncPtr | f | ) | [inline, static] |
Definition at line 52 of file SingletonLifetimePolicies.h.