blocxx
Classes | Namespaces | Functions

RefToValue.hpp File Reference

#include "blocxx/BLOCXX_config.h"

Go to the source code of this file.

Classes

class  BLOCXX_NAMESPACE::RefToValue< T >
 Transports a reference as a value Serves to implement the Colvin/Gibbons trick for SmartPtr/ScopeGuard. More...

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


Functions

template<class T >
RefToValue< T > BLOCXX_NAMESPACE::ByRef (T &t)
 RefToValue creator.