Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Struct template rolling_window_plus1_impl



// In header: <boost/accumulators/statistics/rolling_window.hpp>

template<typename Sample> 
struct rolling_window_plus1_impl {
  // 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;


rolling_window_plus1_impl public construct/copy/destruct

  1. template<typename Args> rolling_window_plus1_impl(Args const & args);
  2. rolling_window_plus1_impl(rolling_window_plus1_impl const & that);
  3. rolling_window_plus1_impl& operator=(rolling_window_plus1_impl const & that);

rolling_window_plus1_impl public member functions

  1. template<typename Args> void operator()(Args const & args) ;
  2. bool full() const;
  3. result_type result(dont_care) const;