![]() |
smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
|
Template policies namespace. More...
Classes | |
| struct | CreateStatic |
| Creation policy which allocates a static object. More... | |
| struct | CreateUsingNew |
| Creation policy that uses new to allocate an object on the stack. More... | |
| class | DefaultFactoryError |
| Default factory error policy. More... | |
| struct | DefaultLifetime |
| Lifetime policy which schedules destruction using std::atexit. More... | |
| class | PhoenixLifetime |
| Lifetime policy which reconstructs a destroyed singleton if reaccessed. More... | |
| struct | SingleThreaded |
| Threading policy for single-threaded applications. More... | |
Typedefs | |
| using | AtExitFunc = void(*)() |
| Alias for a function type that can be passed to std::atexit. | |
Template policies namespace.
| using smgl::policy::AtExitFunc = typedef void (*)() |
Alias for a function type that can be passed to std::atexit.
Definition at line 15 of file Singleton.hpp.