blocxx
|
#include "blocxx/BLOCXX_config.h"
#include "blocxx/ThreadOnce.hpp"
#include "blocxx/GlobalPtr.hpp"
#include "blocxx/ThreadOnce.hpp"
#include "blocxx/GlobalPtr.hpp"
Go to the source code of this file.
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 |
Namespaces | |
namespace | BLOCXX_NAMESPACE |
Taken from RFC 1321. | |
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.