...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::accumulators::as_weighted_feature<tag::mean_of_variates< VariateType, VariateTag >>
// In header: <boost/accumulators/statistics/mean.hpp> template<typename VariateType, typename VariateTag> struct as_weighted_feature<tag::mean_of_variates< VariateType, VariateTag >> { // types typedef tag::weighted_mean_of_variates< VariateType, VariateTag > type; };