Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-24 10:31:50


----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>

> To repeat, I would like these to stay in boost (and hopefully one day
> migrate into std). Nobody objected during the formal review period of
Bind.
> I don't see a reason for different libraries to use different ref's with
the
> same semantics.

OK

> I'd like boost::ref used, for instance, in a future boost <algorithm>
> replacement that allows
>
> for_each(first, last, ref(f));
>
> to avoid the copy of 'f', making it possible for function objects with
state
> to be used.

Not being familiar with ref, I wonder if proxy might not be a better name?


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