[Boost-bugs] [Boost C++ Libraries] #9010: typo in the documentation of one_of

Subject: [Boost-bugs] [Boost C++ Libraries] #9010: typo in the documentation of one_of
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-17 08:44:12


#9010: typo in the documentation of one_of
------------------------------+-----------------------
 Reporter: kariya_mitsuru@… | Owner: marshall
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: algorithm
  Version: Boost 1.54.0 | Severity: Cosmetic
 Keywords: doc |
------------------------------+-----------------------
 {{{
 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<InputIterator>::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<InputIterator>::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]
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9010>
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:13 UTC