26 #ifndef MLN_PW_VALUE_HH
27 # define MLN_PW_VALUE_HH
33 # include <mln/fun/internal/selector.hh>
34 # include <mln/core/concept/image.hh>
56 mln_rvalue(I) operator()(const mln_psite(I)&
p) const;
71 # ifndef MLN_INCLUDE_ONLY
92 value_<I>::operator()(const mln_psite(I)&
p)
const
94 mln_precondition(ima_ != 0);
95 mln_precondition(ima_->has(p));
102 template <
typename I>
105 value(
const Image<I>& ima)
107 mln_precondition(
exact(ima).is_valid());
108 value_<I> tmp(
exact(ima));
112 # endif // ! MLN_INCLUDE_ONLY
119 #endif // ! MLN_PW_VALUE_HH