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
> I don't see a reason for different libraries to use different ref's with
> same semantics.


> 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
> to be used.

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at