Commit 5824c18c authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

mln/accu/count_value.hh: Add properties.

parent d7850dbc
2010-06-25 Guillaume Lazzara <z@lrde.epita.fr>
* mln/accu/count_value.hh: Add properties.
2010-06-18 Guillaume Lazzara <z@lrde.epita.fr>
 
Fix a bug in conversions from vec to point.
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -37,6 +38,29 @@
namespace mln
{
// Forward declaration.
namespace accu {
template <typename V> struct count_value;
}
// Traits.
namespace trait
{
template <typename V>
struct accumulator_< accu::count_value<V> >
{
typedef accumulator::has_untake::yes has_untake;
typedef accumulator::has_set_value::yes has_set_value;
typedef accumulator::has_stop::no has_stop;
typedef accumulator::when_pix::use_v when_pix;
};
} // end of namespace mln::trait
namespace accu
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment