CppCommon
1.0.4.1
C++ Common Library
|
Static constructor pattern. More...
#include <static_constructor.h>
Static Public Attributes | |
static constructor | instance |
Static constructor instance. More... | |
Static constructor pattern.
Static constructor pattern is used to emulate static constructor and destructor for C++ class.
Thread-safe.
Example:
Definition at line 48 of file static_constructor.h.
|
static |
Static constructor instance.
Definition at line 54 of file static_constructor.h.