#include <functional.hpp>
Public Types | |
typedef T | type |
Same as T, possibly const-qualified. | |
Public Member Functions | |
pointer_base_f (type *_ref) | |
pointer_base_f (type &_ref) | |
type * | operator() () const |
Returns a [const] pointer to the object this one refers to. | |
type * | get () const |
For convention's sake. | |
type * | operator-> () const |
bool | empty () const |
Public Attributes | |
type * | value |
Added in 1.1.3.
T may be const or not, but should not have a pointer qualification. Specializations of pointer_f take care of getting rid of the extra const/pointer/reference qualifiers.
Definition at line 132 of file functional.hpp.
typedef T s11n::pointer_base_f< T >::type |
Same as T, possibly const-qualified.
Reimplemented in s11n::pointer_f< T >, s11n::pointer_f< T const >, s11n::pointer_f< T * >, and s11n::pointer_f< T const * >.
Definition at line 135 of file functional.hpp.
s11n::pointer_base_f< T >::pointer_base_f | ( | type * | _ref | ) | [inline, explicit] |
Definition at line 137 of file functional.hpp.
s11n::pointer_base_f< T >::pointer_base_f | ( | type & | _ref | ) | [inline, explicit] |
Definition at line 139 of file functional.hpp.
type* s11n::pointer_base_f< T >::operator() | ( | ) | const [inline] |
Returns a [const] pointer to the object this one refers to.
Definition at line 145 of file functional.hpp.
References s11n::pointer_base_f< T >::value.
type* s11n::pointer_base_f< T >::get | ( | ) | const [inline] |
For convention's sake.
..
Definition at line 151 of file functional.hpp.
References s11n::pointer_base_f< T >::value.
type* s11n::pointer_base_f< T >::operator-> | ( | ) | const [inline] |
bool s11n::pointer_base_f< T >::empty | ( | ) | const [inline] |
type* s11n::pointer_base_f< T >::value |
Definition at line 136 of file functional.hpp.
Referenced by s11n::pointer_base_f< T >::empty(), s11n::pointer_base_f< T >::get(), s11n::pointer_base_f< T >::operator()(), and s11n::pointer_base_f< T >::operator->().