...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::accumulators::impl::mean_impl
// In header: <boost/accumulators/statistics/mean.hpp> template<typename Sample, typename SumFeature> struct mean_impl : public accumulator_base { // types typedef numeric::functional::fdiv< Sample, std::size_t >::result_type result_type; // construct/copy/destruct mean_impl(dont_care); // public member functions template<typename Args> result_type result(Args const &) const; template<typename Archive> void serialize(Archive &, const unsigned int); };