[Development] C++11 initializer lists in Qt 5.7
Thiago Macieira
thiago.macieira at intel.com
Tue Mar 22 11:33:57 CET 2016
[This is why I asked for an analysis of the features now possible, but it
hasn't happened. So we're doing it piecemeal]
Sean wrote:
> I don't have ready access to all the other compilers and versions we support
> but I think this would allow potential use of:
>
> * template aliases
> * raw string literals
> * delegating ctors
I'd written:
> This buys us:
>
> - delegating constructors
> - "explicit operator" member funcvtions
> - nsdmi
> - initializer_list (not uniform initialisation!)
> - raw strings
> - template alias (using ... = ...)
> - variadic templates
In specific for initializer_lists, the only compilers now with problems is M
MSVC 2013 RTM and SP1. SP2 contains a fix that allows us to enable the
functionality.
But since MSVC does not keep binary compatibility between versions, we should
be allowed to use initializer_lists in our ABI.
Any disagreements?
cf https://codereview.qt-project.org/107373
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list