[range] fixed #5160 (typo in replace_copy_if() example on intro page for range adaptors)

[SVN r82325]
This commit is contained in:
Nathan Ridge
2013-01-02 23:41:58 +00:00
parent 3379affd4a
commit 17e4f7024d
3 changed files with 3 additions and 3 deletions

View File

@ -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