boost::accumulators::as_weighted_feature<tag::density>
// In header: <boost/accumulators/statistics/density.hpp> struct as_weighted_feature<tag::density> { // types typedef tag::weighted_density type; };