...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::numeric::op::average
// In header: <boost/accumulators/numeric/functional.hpp> struct average { };