StaticInstantiation Class Reference
#include <Singleton.h>
Static Protected Member Functions | |
template<class T > | |
static void | create (T *&ptr) |
Detailed Description
- Date
- <2003-07-16T17:57:45-0400>
- Version
- 2.2.0
The StaticInstantiation policy allows the creation and lifetime of an instance of a particular type to be managed using static instantiation. This will abide by the standard C++ rules for static objects lifetimes.
Member Function Documentation
◆ create()
|
inlinestaticprotected |
Create an instance of an object using by simply allocating it statically.
- Parameters
-
ptr reference to location to receive the address of the allocated object
The documentation for this class was generated from the following file:
- Singleton.h