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

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

Header <boost/algorithm/cxx17/inclusive_scan.hpp>

namespace boost {
  namespace algorithm {
    template<typename InputIterator, typename OutputIterator, typename T, 
             typename BinaryOperation> 
      OutputIterator 
      inclusive_scan(InputIterator first, InputIterator last, 
                     OutputIterator result, BinaryOperation bOp, T init);
    template<typename InputIterator, typename OutputIterator, 
             typename BinaryOperation> 
      OutputIterator 
      inclusive_scan(InputIterator first, InputIterator last, 
                     OutputIterator result, BinaryOperation bOp);
    template<typename InputIterator, typename OutputIterator> 
      OutputIterator 
      inclusive_scan(InputIterator first, InputIterator last, 
                     OutputIterator result);
  }
}

PrevUpHomeNext