Subject: [Boost-bugs] [Boost C++ Libraries] #5160: Documentation: missing argument to replace_copy_if
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-04 05:27:37
#5160: Documentation: missing argument to replace_copy_if
-------------------------------------+--------------------------------------
Reporter: onlyone@⦠| Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
In the Introduction and Motivation section of the documentation for Range
Adaptors there is an example which uses boost::replace_copy_if. This
example shows replace_copy_if being called with only three arguments (the
Range, the Iterator and the Predicate), where boost::replace_copy_if
actually takes four (it also must be passed the Value to replace the old
value with). This makes the example somewhat confusing, especially for
someone not familiar with the function.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5160> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC