summaryrefslogtreecommitdiff
path: root/boost/accumulators/statistics/stats.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/accumulators/statistics/stats.hpp')
-rw-r--r--boost/accumulators/statistics/stats.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/boost/accumulators/statistics/stats.hpp b/boost/accumulators/statistics/stats.hpp
new file mode 100644
index 0000000000..22c4ede027
--- /dev/null
+++ b/boost/accumulators/statistics/stats.hpp
@@ -0,0 +1,29 @@
+///////////////////////////////////////////////////////////////////////////////
+/// \file stats.hpp
+/// Contains the stats<> template.
+///
+// Copyright 2005 Eric Niebler. Distributed under the Boost
+// Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005
+#define BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005
+
+#include <boost/preprocessor/repetition/enum_params.hpp>
+#include <boost/mpl/vector.hpp>
+#include <boost/accumulators/statistics_fwd.hpp>
+
+namespace boost { namespace accumulators
+{
+
+///////////////////////////////////////////////////////////////////////////////
+/// An MPL sequence of statistics.
+template<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, typename Stat)>
+struct stats
+ : mpl::vector<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, Stat)>
+{
+};
+
+}} // namespace boost::accumulators
+
+#endif