...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::rolling_sum_impl
// In header: <boost/accumulators/statistics/rolling_sum.hpp> template<typename Sample> struct rolling_sum_impl { // types typedef Sample result_type; // construct/copy/destruct template<typename Args> rolling_sum_impl(Args const &); // public member functions template<typename Args> void operator()(Args const &) ; template<typename Args> result_type result(Args const &) const; };