...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_window_plus1_impl
// In header: <boost/accumulators/statistics/rolling_window.hpp> template<typename Sample> struct rolling_window_plus1_impl : public accumulator_base { // types typedef circular_buffer< Sample >::const_iterator const_iterator; typedef iterator_range< const_iterator > result_type; // construct/copy/destruct template<typename Args> rolling_window_plus1_impl(Args const &); rolling_window_plus1_impl(rolling_window_plus1_impl const &); rolling_window_plus1_impl & operator=(rolling_window_plus1_impl const &); // public member functions template<typename Args> void operator()(Args const &); bool full() const; result_type result(dont_care) const; template<typename Archive> void serialize(Archive &, const unsigned int); };
rolling_window_plus1_impl
public
construct/copy/destructtemplate<typename Args> rolling_window_plus1_impl(Args const & args);
rolling_window_plus1_impl(rolling_window_plus1_impl const & that);
rolling_window_plus1_impl & operator=(rolling_window_plus1_impl const & that);