
23 Mar
2012
23 Mar
'12
11:41 p.m.
On Fri, Mar 23, 2012 at 8:33 AM, Thorsten Ottosen < thorsten.ottosen@dezide.com> wrote:
On 3/23/2012 4:20 PM, Dave Abrahams wrote:
One possibility:
- make adaptor expressions return const rvalues. The const rvalues will bind to T& arguments (where T is a template parameter) by deducing T to be const.
I don't like this one.
- make even the const_iterators for such adaptors mutable (writable)
iterators
This accurately reflects the fact that such adaptors don't own their values.
Seems reasonable.
With Thorsten and Dave on this latter one. - Jeff