File indexing completed on 2025-01-18 09:28:22
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_ACCUMULATORS_STATISTICS_WITH_ERROR_HPP_EAN_01_11_2005
0009 #define BOOST_ACCUMULATORS_STATISTICS_WITH_ERROR_HPP_EAN_01_11_2005
0010
0011 #include <boost/preprocessor/repetition/enum_params.hpp>
0012 #include <boost/mpl/vector.hpp>
0013 #include <boost/mpl/transform_view.hpp>
0014 #include <boost/mpl/placeholders.hpp>
0015 #include <boost/accumulators/statistics_fwd.hpp>
0016 #include <boost/accumulators/statistics/error_of.hpp>
0017
0018 namespace boost { namespace accumulators
0019 {
0020
0021 namespace detail
0022 {
0023 template<typename Feature>
0024 struct error_of_tag
0025 {
0026 typedef tag::error_of<Feature> type;
0027 };
0028 }
0029
0030
0031
0032
0033 template<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, typename Feature)>
0034 struct with_error
0035 : mpl::transform_view<
0036 mpl::vector<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, Feature)>
0037 , detail::error_of_tag<mpl::_1>
0038 >
0039 {
0040 };
0041
0042 }}
0043
0044 #endif