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

C++17 Algorithms

for_each_n
transform_inclusive_scan
transform_exclusive_scan

for_each_n Apply a functor to the elements of a sequence

transform_inclusive_scan Transform each element in a range then combine adjacent elements to create an output range. Inclusive scaning means that the nth input is present in the nth output.

transform_exclusive_scan Transform each element in a range then combine adjacent elements to create an output range. Exclusive scanning means that the nth input is not present in the nth output.


PrevUpHomeNext