1 | /////////////////////////////////////////////////////////////////////////////// |
---|---|
2 | /// \file stats.hpp |
3 | /// Contains the stats<> template. |
4 | /// |
5 | // Copyright 2005 Eric Niebler. Distributed under the Boost |
6 | // Software License, Version 1.0. (See accompanying file |
7 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
8 | |
9 | #ifndef BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005 |
10 | #define BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005 |
11 | |
12 | #include <boost/preprocessor/repetition/enum_params.hpp> |
13 | #include <boost/mpl/vector.hpp> |
14 | #include <boost/accumulators/statistics_fwd.hpp> |
15 | |
16 | namespace boost { namespace accumulators |
17 | { |
18 | |
19 | /////////////////////////////////////////////////////////////////////////////// |
20 | /// An MPL sequence of statistics. |
21 | template<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, typename Stat)> |
22 | struct stats |
23 | : mpl::vector<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, Stat)> |
24 | { |
25 | }; |
26 | |
27 | }} // namespace boost::accumulators |
28 | |
29 | #endif |
30 |