blocxx
GlobalPtr.hpp File Reference
#include "blocxx/BLOCXX_config.h"
#include "blocxx/ThreadOnce.hpp"
#include "blocxx/SafeBool.hpp"

Go to the source code of this file.

Classes

struct  BLOCXX_NAMESPACE::DefaultConstructorFactory< T >
 This class is the default factory for GlobalPtr. More...
 
class  BLOCXX_NAMESPACE::GlobalPtr< T, FactoryT >
 This class can be used to store a global pointer. More...
 
struct  BLOCXX_NAMESPACE::GlobalPtr< T, FactoryT >::InitPtr
 

Namespaces

namespace  BLOCXX_NAMESPACE
 Taken from RFC 1321.
 

Macros

#define BLOCXX_GLOBAL_PTR_INIT   { 0, BLOCXX_ONCE_INIT }
 This macro is provided to abstract the details of GlobalPtr.
 

Macro Definition Documentation

◆ BLOCXX_GLOBAL_PTR_INIT

#define BLOCXX_GLOBAL_PTR_INIT   { 0, BLOCXX_ONCE_INIT }

This macro is provided to abstract the details of GlobalPtr.

It should be used to initialize instances of GlobalPtr.

Definition at line 146 of file GlobalPtr.hpp.