Files

30 lines
1023 B
C++

///////////////////////////////////////////////////////////////////////////////
/// \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 ACTIV_BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005
#define ACTIV_BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_28_10_2005
#include <ActivBoost/preprocessor/repetition/enum_params.hpp>
#include <ActivBoost/mpl/vector.hpp>
#include <ActivBoost/accumulators/statistics_fwd.hpp>
namespace Boost { namespace accumulators
{
///////////////////////////////////////////////////////////////////////////////
/// An MPL sequence of statistics.
template<ACTIV_BOOST_PP_ENUM_PARAMS(ACTIV_BOOST_ACCUMULATORS_MAX_FEATURES, typename Stat)>
struct stats
: mpl::vector<ACTIV_BOOST_PP_ENUM_PARAMS(ACTIV_BOOST_ACCUMULATORS_MAX_FEATURES, Stat)>
{
};
}} // namespace Boost::accumulators
#endif