#include <functional.hpp>
Inheritance diagram for s11n::reference_base_f< T >:
Public Types | |
typedef T | type |
Public Member Functions | |
reference_base_f (type &_ref) | |
operator T () const | |
Returns a copy of the object this one refers to. | |
type & | operator() () const |
Returns a [const] reference to the object this one refers to. | |
Public Attributes | |
type & | value |
For use in template metaprogramming. Don't use this type directly: it is intended to be subclassed by reference_f<> types.
T must not be pointer-qualified. Const is fine.
Added in 1.1.3.
Note to self: what happens if it is a pointer type?
Definition at line 23 of file functional.hpp.
|
|
Definition at line 27 of file functional.hpp. |
|
Returns a copy of the object this one refers to.
Definition at line 33 of file functional.hpp. |
|
Returns a [const] reference to the object this one refers to.
Definition at line 42 of file functional.hpp. |
|
Definition at line 26 of file functional.hpp. Referenced by s11n::reference_base_f< type >::operator type (), s11n::reference_base_f< NodeType >::operator()(), and s11n::reference_f< NodeType >::operator=(). |