s11n::value_f< T > Struct Template Reference

Holds a value. More...

#include <functional.hpp>

Inheritance diagram for s11n::value_f< T >:

Inheritance graph
[legend]
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 >

Holds a value.

For use in template metaprogramming.

Added in 1.1.3.

Definition at line 256 of file functional.hpp.


Member Typedef Documentation

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

Definition at line 258 of file functional.hpp.


Constructor & Destructor Documentation

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

Definition at line 260 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 264 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 270 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 259 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 Thu Feb 8 10:27:08 2007 for libs11n-1.2.5 by  doxygen 1.5.0