replace_copy_if
Syntax: #include <algorithm> iterator replace_copy_if( iterator start, iterator end, iterator result, Predicate p, const TYPE& new_value ); The replace_copy_if() function copies the elements in the range [start,end) to the destination result. Any elements for which the predicate p is true are replaced with new_value. Related topics:
|