[Development] Question about QCoreApplicationData::*_libpaths

Matthew Woehlke mwoehlke.floss at gmail.com
Mon Jan 18 18:24:50 CET 2016

On 2016-01-16 00:07, Kevin Kofler wrote:
> I suspect we would lose at least some optimizations from 

C++ desperately needs something like this. There was talk a while back
about destructive moves, but I don't believe it ever materialized into a

I'd rather see the good parts of Qt containers being pushed to STL
(maybe as part of STL2) than just being lost.

> The iterators are only problematic when you keep an iterator across an 
> assignment

I also feel like I fixed this - not in an actual Qt container, but in my
own container that also had CoW - once upon a time, though it requires
that the iterators not be "just pointers". (IIRC the iterator is able to
detect that a detach occurred, and must reseat itself on first
subsequent access. So it's "safe", but not exactly efficient.)


More information about the Development mailing list