features.hpp 923 B

1234567891011121314151617181920212223242526272829
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // features.hpp
  3. //
  4. // Copyright 2005 Eric Niebler. Distributed under the Boost
  5. // Software License, Version 1.0. (See accompanying file
  6. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_08_12_2005
  8. #define BOOST_ACCUMULATORS_STATISTICS_STATS_HPP_EAN_08_12_2005
  9. #include <boost/preprocessor/repetition/enum_params.hpp>
  10. #include <boost/mpl/vector.hpp>
  11. #include <boost/accumulators/accumulators_fwd.hpp>
  12. namespace boost { namespace accumulators
  13. {
  14. ///////////////////////////////////////////////////////////////////////////////
  15. // features
  16. //
  17. template<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, typename Feature)>
  18. struct features
  19. : mpl::vector<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, Feature)>
  20. {
  21. };
  22. }} // namespace boost::accumulators
  23. #endif