blocxx
|
Transports a reference as a value Serves to implement the Colvin/Gibbons trick for SmartPtr/ScopeGuard. More...
#include <RefToValue.hpp>
Public Member Functions | |
RefToValue (T &ref) | |
RefToValue (const RefToValue &rhs) | |
operator T& () const | |
Private Member Functions | |
RefToValue () | |
RefToValue & | operator= (const RefToValue &) |
Private Attributes | |
T & | ref_ |
Transports a reference as a value Serves to implement the Colvin/Gibbons trick for SmartPtr/ScopeGuard.
Definition at line 60 of file RefToValue.hpp.
|
inline |
Definition at line 64 of file RefToValue.hpp.
|
inline |
Definition at line 67 of file RefToValue.hpp.
|
private |
|
inline |
Definition at line 70 of file RefToValue.hpp.
References BLOCXX_NAMESPACE::RefToValue< T >::ref_.
|
private |
|
private |
Definition at line 80 of file RefToValue.hpp.
Referenced by BLOCXX_NAMESPACE::RefToValue< T >::operator T&().