Overview
Modifying Algorithms change the value of elements. They may modify the elements of a range directly or modify them while they are being copied into another range.
Copies a range starting with the first element
Copies a specified number of elements
Copies a range starting with the last element
Exchanges the values of the elements between two types of objects
Swap values of objects pointed by two iterators
Swaps elements of two ranges
Modifies (and copies) elements; combines elements of two ranges
Replaces elements that have a special value with another value
Replaces elements that match a criterion with another value
Replaces elements that have a special value while copying the whole range
Replaces elements that match a criterion while copying the whole range
Replaces each element with a given value
Replaces n elements with a given value
Replaces each element with the result of an operation
Replaces n elements with the result of an operation
Removes elements with a given value
Removes elements that match a given criterion
Copies elements that do not match a given value
Copies elements that do not match a given criterion
Removes adjacent duplicates (elements that are equal to their predecessor)
Copies elements while removing adjacent duplicates
Reverses the order of the elements
Copies the elements while reversing their order
Rotates the order of the elements
Copies the elements while rotating their order
Brings the elements into a random order
Changes the order of the elements so that elements that match a criterion are at the front
Same as partition(), but preserves the relative order of matching and nonmatching elements