boost::accumulators::as_feature<tag::mean_of_weights(lazy)>
// In header: <boost/accumulators/statistics/mean.hpp> struct as_feature<tag::mean_of_weights(lazy)> { // types typedef tag::mean_of_weights type; };