26 #ifndef MLN_ACCU_STAT_MAX_HH
27 # define MLN_ACCU_STAT_MAX_HH
33 # include <mln/core/concept/meta_accumulator.hh>
34 # include <mln/accu/internal/base.hh>
35 # include <mln/trait/value_.hh>
36 # include <mln/util/pix.hh>
46 template <
typename T>
struct max;
57 struct accumulator_< accu::stat::max<T> >
59 typedef accumulator::has_untake::no has_untake;
60 typedef accumulator::has_set_value::yes has_set_value;
61 typedef accumulator::has_stop::no has_stop;
62 typedef accumulator::when_pix::use_v when_pix;
100 template <
typename T>
101 struct max :
public mln::accu::internal::base< const T& , max<T> >
110 void take_as_init_(
const argument& t);
111 void take(
const argument& t);
131 template <
typename I>
struct max< util::pix<I> >;
134 # ifndef MLN_INCLUDE_ONLY
136 template <typename T>
143 template <
typename T>
151 template <
typename T>
159 template <
typename T>
162 max<T>::take(
const argument& t)
168 template <
typename T>
171 max<T>::take(
const max<T>& other)
177 template <
typename T>
185 template <
typename T>
193 template <
typename T>
201 # endif // ! MLN_INCLUDE_ONLY
210 #endif // ! MLN_ACCU_STAT_MAX_HH