27 # define MLN_ACCU_V_HH
34 # include <mln/core/concept/meta_accumulator.hh>
35 # include <mln/accu/internal/base.hh>
36 # include <mln/metal/is_a.hh>
37 # include <mln/util/pix.hh>
61 void take(
const argument& t);
86 template <
typename mA>
92 typedef mln_accu_with(mA, mln_value(V))
A;
99 # ifndef MLN_INCLUDE_ONLY
101 template <
typename A>
108 template <
typename A>
116 template <
typename A>
124 template <
typename A>
132 template <
typename A>
140 template <
typename A>
148 template <
typename A>
149 template <
typename I>
152 val<A>::take_as_init_(
const util::pix<I>& pix)
154 a_.take_as_init_(pix.v());
157 template <
typename A>
158 template <
typename I>
166 template <
typename A>
169 val<A>::to_result()
const
171 return a_.to_result();
174 template <
typename A>
177 val<A>::is_valid()
const
179 return a_.is_valid();
183 # endif // ! MLN_INCLUDE_ONLY
190 #endif // ! MLN_ACCU_V_HH