Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-08-24 10:27:52

From: "David Abrahams" <david.abrahams_at_[hidden]>
> > reference_wrapper
> > ref
> > cref
> ref and cref are too short, IMO, for boost::. I would be pleased for
> and Peter Dimov to work out the future of the above names, though.

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.

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.

Peter Dimov
Multi Media Ltd.

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