forked from boostorg/range
[range] fixed #5160 (typo in replace_copy_if() example on intro page for range adaptors)
[SVN r82325]
This commit is contained in:
1 parent
3379affd4a
commit
17e4f7024d
3 files changed
+3
-3
No files matched your search
@@ -93,7 +93,7 @@ What this means is that ['*no*] algorithm with the `_if` suffix is needed. Furth
|
||||
|
||||
``
|
||||
std::vector<int> vec;
|
||||
boost::replace_copy_if( rng, std::back_inserter(vec), pred );
|
||||
boost::replace_copy_if( rng, std::back_inserter(vec), pred, new_value );
|
||||
``
|
||||
|
||||
With adaptors and algorithms we can express this as
|
||||
|
||||
Reference in new issue
Block a user