s11n::value_f< T > Struct Template Reference

Returns pointer_f<T>(v). More...

#include <functional.hpp>

Inheritance diagram for s11n::value_f< T >:

s11n::value_f< T & > s11n::value_f< T const  > s11n::value_f< T const & >

List of all members.

Public Types

typedef T type

Public Member Functions

 value_f (type const &_ref)
 operator T () const
 Returns a copy of this->value.
type operator() () const
 Returns a copy of this->value.

Public Attributes

type value


Detailed Description

template<typename T>
struct s11n::value_f< T >

Returns pointer_f<T>(v).

Holds a value. For use in template metaprogramming.

Added in 1.1.3.

Definition at line 258 of file functional.hpp.


Member Typedef Documentation

template<typename T>
typedef T s11n::value_f< T >::type

Definition at line 260 of file functional.hpp.


Constructor & Destructor Documentation

template<typename T>
s11n::value_f< T >::value_f ( type const &  _ref  )  [inline]

Definition at line 262 of file functional.hpp.


Member Function Documentation

template<typename T>
s11n::value_f< T >::operator T (  )  const [inline]

Returns a copy of this->value.

Definition at line 266 of file functional.hpp.

References s11n::value_f< T >::value.

template<typename T>
type s11n::value_f< T >::operator() (  )  const [inline]

Returns a copy of this->value.

Definition at line 272 of file functional.hpp.

References s11n::value_f< T >::value.


Member Data Documentation

template<typename T>
type s11n::value_f< T >::value

Definition at line 261 of file functional.hpp.

Referenced by s11n::value_f< T >::operator T(), and s11n::value_f< T >::operator()().


The documentation for this struct was generated from the following file:
Generated on Sun Apr 27 13:16:04 2008 for libs11n by  doxygen 1.5.3