STAPL API Reference |
Modules Classes |
Modify the elements in a view. More...
Modules | |
Generating Operations | |
Initialize the elements in a view (e.g., stapl::generate()). Defined in stapl/algorithms/algorithm.hpp. | |
Removing Operations | |
Remove elements from the input view that meet a specified criteria (e.g., stapl::remove(), stapl::unique()). Defined in stapl/algorithms/algorithm.hpp. | |
Reordering Operations | |
Reorder the elements in the input view (e.g., stapl::reverse(), stapl::rotate()). Defined in stapl/algorithms/algorithm.hpp. | |
Modify the elements in a view.
Mutating algorithms modify the sequences of data that they operate on in some way. The replace(), remove(), and unique() each have two versions, one using operator==
for comparisons, and the other using a function object.