On Thursday 19 February 2015 13:29:48 Daniel Teske wrote: > [1] ranged based for uses std::begin(container), which if not overloaded > calls container.begin(), which detaches. > > So using range-based can be used: > - If the container is const or > - If the container is unshared or > - To actually change the container's contents
Sounds like the intended behaviour to me. What's wrong with this picture? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development