[Boost-bugs] [Boost C++ Libraries] #7926: [Range] missing prototypes with predicate in lower_bound and upper_bound algorithm docs

Subject: [Boost-bugs] [Boost C++ Libraries] #7926: [Range] missing prototypes with predicate in lower_bound and upper_bound algorithm docs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-25 05:30:42


#7926: [Range] missing prototypes with predicate in lower_bound and upper_bound
algorithm docs
------------------------------------------------------------+---------------
 Reporter: Kinugasa Tomonobu<kinugasa.tomonobu@…> | Owner: neilgroves
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------------------------------------+---------------
 http://www.boost.org/doc/libs/1_52_0/libs/range/doc/html/range/reference/algorithms/non_mutating/lower_bound.html
 http://www.boost.org/doc/libs/1_52_0/libs/range/doc/html/range/reference/algorithms/non_mutating/upper_bound.html

 missing prototypes with predicate version in lower_bound and upper_bound
 documents.

 should add such as:
 * lower_bound
 {{{
 template<
     class ForwardRange,
     class Value,
     class SortPredicate
>
 typename range_iterator<const ForwardRange>::type
 lower_bound(ForwardRange& rng, Value val, SortPredicate pred);

 template<
     range_return_value re,
     class ForwardRange,
     class Value,
     class SortPredicate
>
 typename range_return<const ForwardRange,re>::type
 lower_bound(ForwardRange& rng, Value val, SortPredicate pred);
 }}}
 * upper_bound
 {{{
 template<
     class ForwardRange,
     class Value,
     class SortPredicate
>
 typename range_iterator<const ForwardRange>::type
 upper_bound(ForwardRange& rng, Value val, SortPredicate pred);

 template<
     range_return_value re,
     class ForwardRange,
     class Value,
     class SortPredicate
>
 typename range_return<const ForwardRange,re>::type
 upper_bound(ForwardRange& rng, Value val, SortPredicate pred);
 }}}

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