Boost C++ Libraries

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

PrevUpHomeNext

Struct template rolling_window_impl

boost::accumulators::impl::rolling_window_impl

Synopsis

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

template<typename Sample> 
struct rolling_window_impl : public accumulator_base {
  // types
  typedef circular_buffer< Sample >::const_iterator const_iterator;
  typedef iterator_range< const_iterator >          result_type;   

  // construct/copy/destruct
  rolling_window_impl(dont_care);

  // public member functions
  template<typename Args> result_type result(Args const &) const;
  template<typename Archive> void serialize(Archive &, const unsigned int);
};

Description

rolling_window_impl public construct/copy/destruct

  1. rolling_window_impl(dont_care);

rolling_window_impl public member functions

  1. template<typename Args> result_type result(Args const & args) const;
  2. template<typename Archive> 
      void serialize(Archive & ar, const unsigned int file_version);

PrevUpHomeNext