26 #ifndef MLN_FUN_V2V_CH_FUNCTION_VALUE_HH
27 # define MLN_FUN_V2V_CH_FUNCTION_VALUE_HH
33 # include <mln/core/concept/function.hh>
34 # include <mln/fun/internal/ch_function_value_impl.hh>
42 namespace convert {
template <
typename T,
typename O> T
to(
const O& from); }
51 template <
typename F,
typename V>
53 public internal::ch_function_value_impl<F, V>
65 V operator()(
const W& w)
const;
72 # ifndef MLN_INCLUDE_ONLY
74 template <
typename F,
typename V>
80 template <
typename F,
typename V>
82 ch_function_value<F,V>::ch_function_value(
const F& f)
87 template <
typename F,
typename V>
91 ch_function_value<F,V>::operator()(
const W& w)
const
93 return mln::convert::to<V>(f_(w));
96 # endif // ! MLN_INCLUDE_ONLY
105 #endif // ! MLN_FUN_V2V_CH_FUNCTION_VALUE_HH