blocxx
Classes | Namespaces | Defines

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.


Defines

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

Define Documentation

#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.