Boost C++ Libraries: Ticket #5160: Documentation: missing argument to replace_copy_if https://svn.boost.org/trac10/ticket/5160 <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5160 Trac 1.4.3 Neil Groves Sun, 18 Mar 2012 19:18:02 GMT status changed https://svn.boost.org/trac10/ticket/5160#comment:1 https://svn.boost.org/trac10/ticket/5160#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Nathan Ridge Wed, 02 Jan 2013 23:42:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5160#comment:2 https://svn.boost.org/trac10/ticket/5160#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82325" title="[range] fixed #5160 (typo in replace_copy_if() example on intro page ...">[82325]</a>) [range] fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5160" title="#5160: Bugs: Documentation: missing argument to replace_copy_if (closed: fixed)">#5160</a> (typo in replace_copy_if() example on intro page for range adaptors) </p> Ticket Nathan Ridge Wed, 02 Jan 2013 23:44:14 GMT <link>https://svn.boost.org/trac10/ticket/5160#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5160#comment:3</guid> <description> <p> Fixed in trunk. The fix will appear in 1.53 (I will merge to release branch after 1.53 beta release). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Nathan Ridge</dc:creator> <pubDate>Mon, 14 Jan 2013 09:19:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5160#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5160#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82487" title="[range] Merge documentation fixes and minor refactoring of docs (refs ...">[82487]</a>) [range] Merge documentation fixes and minor refactoring of docs (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5160" title="#5160: Bugs: Documentation: missing argument to replace_copy_if (closed: fixed)">#5160</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5314" title="#5314: Bugs: wrong example in document (closed: fixed)">#5314</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5440" title="#5440: Bugs: Documentation error for boost::inner_product from boost range library (closed: fixed)">#5440</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5775" title="#5775: Bugs: documentation: wrong description of pop_heap (copy-paste from push_heap) (closed: fixed)">#5775</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6212" title="#6212: Bugs: &#34;Method 3.1: Implement a Range Adaptor without arguments&#34; does not ... (closed: fixed)">#6212</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7585" title="#7585: Bugs: Boost.Range Adaptors indexed: mistake in online documentation (closed: fixed)">#7585</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7843" title="#7843: Bugs: missing example for 'tokenized' range adaptor (closed: fixed)">#7843</a>; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7866" title="#7866: Bugs: Minor doc typo in Boost.Range (closed: fixed)">#7866</a>). </p> </description> <category>Ticket</category> </item> </channel> </rss>