Public Types | Public Member Functions | Private Attributes

mln::fun::v2v::ch_function_value< F, V > Class Template Reference

Wrap a function v2v and convert its result to another type. More...

#include <ch_function_value.hh>

Inheritance diagram for mln::fun::v2v::ch_function_value< F, V >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef ch_function_value< F, V > exact_t
typedef F function
typedef V lvalue
typedef void mutable_result
typedef V result
typedef V rvalue

Public Member Functions

 ch_function_value ()
 ch_function_value (const F &f)
template<typename W >
operator() (const W &w) const

Private Attributes

f_

Detailed Description

template<typename F, typename V>
class mln::fun::v2v::ch_function_value< F, V >

Wrap a function v2v and convert its result to another type.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< ch_function_value< F, V > >::category [inherited]
typedef ch_function_value< F, V > mln::Object< ch_function_value< F, V > >::exact_t [inherited]
template<typename F , typename V >
typedef F mln::fun::v2v::ch_function_value< F, V >::function
template<typename F , typename V >
typedef V mln::fun::v2v::ch_function_value< F, V >::lvalue
typedef void mln::Function_v2v< ch_function_value< F, V > >::mutable_result [inherited]
template<typename F , typename V >
typedef V mln::fun::v2v::ch_function_value< F, V >::result
template<typename F , typename V >
typedef V mln::fun::v2v::ch_function_value< F, V >::rvalue

Constructor & Destructor Documentation

template<typename F , typename V >
mln::fun::v2v::ch_function_value< F, V >::ch_function_value (  )  [inline]
template<typename F , typename V >
mln::fun::v2v::ch_function_value< F, V >::ch_function_value ( const F &  f  )  [inline]

Member Function Documentation

template<typename F , typename V >
template<typename W >
V mln::fun::v2v::ch_function_value< F, V >::operator() ( const W &  w  )  const [inline]

Member Data Documentation

template<typename F , typename V >
F mln::fun::v2v::ch_function_value< F, V >::f_ [private]