Boost logo

Boost :

From: helmut.zeisel_at_[hidden]
Date: 2001-07-25 13:41:19


--- In boost_at_y..., "Fernando Cacciola" <fcacciola_at_g...> wrote:
>
> Do you mean that you just don't want to write (c.begin(),c.end())
each time?

To speak for me: yes

> In that case a trivial wrapper that just expands to the range
signature can
> be provided,

Yes, and I think such wrappers have already been written
very often for the algorithms present in STL.

> but the algorithm itself should use a range

OK.

I do not know what to do to provide
both version of the algorithms in a cheap way,
I think, however, that the most common usage
should be honored in some way.

Helmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk