Contains lifetime policies for icl_core::Singleton. More...
#include <stdlib.h>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | icl_core::SLPDefaultLifetime< T > |
class | icl_core::SLPNoDestroy< T > |
Namespaces | |
icl_core | |
Typedefs | |
typedef void(* | icl_core::DestructionFuncPtr) () |
Helper definition for destruction functions. More... | |
Contains lifetime policies for icl_core::Singleton.
icl_core::SLPDefaultLifetime schedules the singleton destruction using atexit(). icl_core::SLPNoDestroy never destroys the singleton. Unless a static creation policy is used, this means the object is leaked at program termination.
Definition in file SingletonLifetimePolicies.h.