|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-12-13 08:28:30
From: "Jeremy Siek" <jsiek_at_[hidden]>
[...]
> Also, this isn't really just a BGL issue. The same problem will come up
> whenever someone has a custom iterator that returns builtin's by value.
Yes, I know.
There are several "solutions" to this problem, each with its own drawbacks.
I think I've chosen the least bad.
For the record, here's my suggestion for a core change:
"For the purposes of reference binding, all rvalues are considered const."
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk