[Development] Move ctors for q_declare_shared types
Thiago Macieira
thiago.macieira at intel.com
Fri Jun 26 19:59:37 CEST 2015
On Friday 26 June 2015 16:45:18 Marc Mutz wrote:
> or that they don't have range-ctor or range-insert, or emplace, or
> allocator support.
Range construction and insertion is easy to add. I have the range insert in my
local copy of QVector, but not the constructor -- I never realised it even
existed in std::vector, actually.
I tried to implement emplace, but didn't find much value because Qt containers
require the type contained to be default constructible and will make copies in
the future anyway.
As for allocators, I've been doing C++ for 20 years and I have never once ever
used one. So that's a P6 "less than not important" task in my view.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list