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

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