Back to home page

EIC code displayed by LXR

 
 

    


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

0001 ///////////////////////////////////////////////////////////////////////////////
0002 /// \file stats.hpp
0003 /// Contains the stats<> template.
0004 ///
0005 //  Copyright 2005 Eric Niebler. Distributed under the Boost
0006 //  Software License, Version 1.0. (See accompanying file
0007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 #ifndef BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005
0010 #define BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005
0011 
0012 #include <boost/preprocessor/repetition/enum_params.hpp>
0013 #include <boost/mpl/vector.hpp>
0014 #include <boost/accumulators/statistics_fwd.hpp>
0015 
0016 namespace boost { namespace accumulators
0017 {
0018 
0019 ///////////////////////////////////////////////////////////////////////////////
0020 /// An MPL sequence of statistics.
0021 template<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, typename Stat)>
0022 struct stats
0023   : mpl::vector<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, Stat)>
0024 {
0025 };
0026 
0027 }} // namespace boost::accumulators
0028 
0029 #endif