...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_feature<tag::weighted_mean_of_variates< VariateType, VariateTag >(immediate)>
// In header: <boost/accumulators/statistics/weighted_mean.hpp> template<typename VariateType, typename VariateTag> struct as_feature<tag::weighted_mean_of_variates< VariateType, VariateTag >(immediate)> { // types typedef tag::immediate_weighted_mean_of_variates< VariateType, VariateTag > type; };