Boost C++ Libraries: Ticket #9010: typo in the documentation of one_of https://svn.boost.org/trac10/ticket/9010 <pre class="wiki">Index: doc/one_of.qbk =================================================================== --- doc/one_of.qbk (revision 85368) +++ doc/one_of.qbk (working copy) @@ -75,7 +75,7 @@ * `one_of` and `one_of_equal` both return false for empty ranges, no matter what is passed to test against. -* The second parameter to `one_of_value` is a template parameter, rather than deduced from the first parameter (`std::iterator_traits&lt;InputIterator&gt;::value_type`) because that allows more flexibility for callers, and takes advantage of built-in comparisons for the type that is pointed to by the iterator. The function is defined to return true if, for one element in the sequence, the expression `*iter == val` evaluates to true (where `iter` is an iterator to each element in the sequence) +* The last parameter to `one_of_equal` is a template parameter, rather than deduced from the first parameter (`std::iterator_traits&lt;InputIterator&gt;::value_type`) because that allows more flexibility for callers, and takes advantage of built-in comparisons for the type that is pointed to by the iterator. The function is defined to return true if, for one element in the sequence, the expression `*iter == val` evaluates to true (where `iter` is an iterator to each element in the sequence) [endsect] </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9010 Trac 1.4.3 Marshall Clow Mon, 19 Aug 2013 17:52:57 GMT <link>https://svn.boost.org/trac10/ticket/9010#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9010#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85397" title="Fixed typo &#34;one_of_value&#34; --&gt; &#34;one_of_equal&#34;. Refs #9010 ">[85397]</a>) Fixed typo "one_of_value" --&gt; "one_of_equal". Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9010" title="#9010: Bugs: typo in the documentation of one_of (closed: fixed)">#9010</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Tue, 08 Oct 2013 18:30:49 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9010#comment:2 https://svn.boost.org/trac10/ticket/9010#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Merged to release in <a class="changeset" href="https://svn.boost.org/trac10/changeset/86200" title="Merge minor Boost.Algorithm doc fixes to the release branch">[86200]</a> </p> Ticket