#include "blocxx/BLOCXX_config.h"#include "blocxx/ThreadOnce.hpp"#include "blocxx/GlobalPtr.hpp"#include "blocxx/StaticAssert.hpp"#include <tr1/type_traits>Go to the source code of this file.
Namespaces | |
| namespace | BLOCXX_NAMESPACE |
Classes | |
| struct | BLOCXX_NAMESPACE::DefaultVariableConstructorFactory< T, PODType > |
| class | BLOCXX_NAMESPACE::LazyGlobal< T, PODType, FactoryT > |
| This class can be used to store a global variable that is lazily initialized in a thread safe manner. More... | |
| struct | BLOCXX_NAMESPACE::LazyGlobal< T, PODType, FactoryT >::InitPtr |
Defines | |
| #define | BLOCXX_LAZY_GLOBAL_INIT(...) { __VA_ARGS__, 0, BLOCXX_ONCE_INIT } |
| Statically initialize a LazyGlobal instance. | |
| #define BLOCXX_LAZY_GLOBAL_INIT | ( | ... | ) | { __VA_ARGS__, 0, BLOCXX_ONCE_INIT } |
Statically initialize a LazyGlobal instance.
| Static | POD data convertible to type T. Take care that this is not a function or constructor. |
Definition at line 188 of file LazyGlobal.hpp.
1.5.6