accumulator_concept.hpp 725 B

1234567891011121314151617181920212223242526272829
  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. #ifndef BOOST_ACCUMULATORS_FRAMEWORK_ACCUMULATOR_CONCEPT_HPP_EAN_28_10_2005
  8. #define BOOST_ACCUMULATORS_FRAMEWORK_ACCUMULATOR_CONCEPT_HPP_EAN_28_10_2005
  9. #include <boost/concept_check.hpp>
  10. namespace boost { namespace accumulators
  11. {
  12. template<typename Stat>
  13. struct accumulator_concept
  14. {
  15. void constraints()
  16. {
  17. // TODO: define the stat concept
  18. }
  19. Stat stat;
  20. };
  21. }} // namespace boost::accumulators
  22. #endif