Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:18

0001 ///////////////////////////////////////////////////////////////////////////////
0002 // accumulator_concept.hpp
0003 //
0004 //  Copyright 2005 Eric Niebler. Distributed under the Boost
0005 //  Software License, Version 1.0. (See accompanying file
0006 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 #ifndef BOOST_ACCUMULATORS_FRAMEWORK_ACCUMULATOR_CONCEPT_HPP_EAN_28_10_2005
0009 #define BOOST_ACCUMULATORS_FRAMEWORK_ACCUMULATOR_CONCEPT_HPP_EAN_28_10_2005
0010 
0011 #include <boost/concept_check.hpp>
0012 
0013 namespace boost { namespace accumulators
0014 {
0015 
0016 template<typename Stat>
0017 struct accumulator_concept
0018 {
0019     void constraints()
0020     {
0021         // TODO: define the stat concept
0022     }
0023 
0024     Stat stat;
0025 };
0026 
0027 }} // namespace boost::accumulators
0028 
0029 #endif