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