[Development] Question about QCoreApplicationData::*_libpaths
Thiago Macieira
thiago.macieira at intel.com
Tue Jan 19 18:36:03 CET 2016
On Tuesday 19 January 2016 11:59:12 Matthew Woehlke wrote:
> On 2016-01-19 07:50, Marc Mutz wrote:
> > Status quo in libraries equals bit-rot. The containers are _not_ "good
> > enough". E.g. QVector seriously needs to support move-only types (like
> > unique_ptr) in a C++11 world. Oops... it never will... it's CoWed...
>
> How do STL containers deal with this? I guess they just can't be copied?
> Why can't Qt containers do likewise?
Because move-only types didn't exist when our containers were written, so we
didn't support them. And now we've never investigated what would be required
to do it.
It's possible, but requires some tricky template magic that I fear will make
MSVC stumble.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list