27 # define MLN_PW_CST_HH
33 # include <mln/fun/internal/selector.hh>
34 # include <mln/value/equiv.hh>
35 # include <mln/value/concept/scalar.hh>
49 cst_<T>
cst(
const T& t);
57 template <
typename F,
typename S>
66 template <typename F, typename S>
68 operator == (const Function_v2v<F>& fun, const
value::Scalar<S>& s)
82 : fun::internal::selector_from_result_<T, cst_<T> >
::ret
91 T operator()(
const P&)
const;
100 template <
typename T>
101 cst_<T>
cst(
const T& t);
104 # ifndef MLN_INCLUDE_ONLY
108 template <
typename T>
114 template <
typename T>
116 cst_<T>::cst_(
const T& t)
121 template <
typename T>
122 template <
typename P>
125 cst_<T>::operator()(
const P&)
const
132 template <
typename T>
134 cst_<T>
cst(
const T& t)
140 # endif // ! MLN_INCLUDE_ONLY
147 #endif // ! MLN_PW_CST_HH