STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Modules
Mutating Sequence Operations

Modify the elements in a view. More...

+ Collaboration diagram for Mutating Sequence Operations:

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.
 

Detailed Description

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.