| 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // accumulator_concept.hpp |
| 3 | // |
| 4 | // Copyright 2005 Eric Niebler. Distributed under the Boost |
| 5 | // Software License, Version 1.0. (See accompanying file |
| 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 7 | |
| 8 | #ifndef BOOST_ACCUMULATORS_FRAMEWORK_ACCUMULATOR_CONCEPT_HPP_EAN_28_10_2005 |
| 9 | #define BOOST_ACCUMULATORS_FRAMEWORK_ACCUMULATOR_CONCEPT_HPP_EAN_28_10_2005 |
| 10 | |
| 11 | #include <boost/concept_check.hpp> |
| 12 | |
| 13 | namespace boost { namespace accumulators |
| 14 | { |
| 15 | |
| 16 | template<typename Stat> |
| 17 | struct accumulator_concept |
| 18 | { |
| 19 | void constraints() |
| 20 | { |
| 21 | // TODO: define the stat concept |
| 22 | } |
| 23 | |
| 24 | Stat stat; |
| 25 | }; |
| 26 | |
| 27 | }} // namespace boost::accumulators |
| 28 | |
| 29 | #endif |
| 30 | |