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