Boost logo

Boost Users :

Subject: Re: [Boost-users] [range] signature discrepancy between equal_range and upper_bound
From: giecrilj_at_[hidden]
Date: 2011-12-06 14:17:15


>
> Re: signature discrepancy between equal_range and upper_bound
>
> From: Nat Linden <nat_at_[hidden]>
> Reply to: boost-users_at_[hidden]
> Date: Tue, 6 Dec 2011 08:58:18 -0500
> Newsgroups:
> gmane.comp.lib.boost.user
> Followup to: newsgroup
> References:
> <jbkr2p$hi$1_at_[hidden]>
>On Tue, Dec 6, 2011 at 5:34 AM, <giecrilj_at_[hidden]> wrote:
>
>> The algorithm equal_range takes the Value by constant reference
>> while the algorithm upper_bound takes Value by value.
>> Why is that? =A0(Note that standard algorithms take a constant reference.)
>
>Sorry to be obtuse, but... are you talking about a Boost library? If
>so, which one?

<URL: file:///usr/share/doc/packages/boost-1.44.0/libs/range/doc/html/range/reference/algorithms/non_mutating/upper_bound.html >


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net