[Development] Supported compilers for Qt 6
Christian Gagneraud
chgans at gmail.com
Mon Aug 12 22:23:45 CEST 2019
On Mon, 12 Aug 2019, 22:13 Thiago Macieira, <thiago.macieira at intel.com>
wrote:
> On Monday, 12 August 2019 13:03:47 PDT Mutz, Marc via Development wrote:
> > The milestone is std::byte, which which we could put QByteArray on a
> > sound basis. And char8_t, which would make QUtf8String(View) fly.
>
> QByteArray, due to its dual string / byte array nature, will continue to
> operate on char. After all, char *is* a byte. We should add the unsigned
> char
> variants too, though.
>
What is a byte? An 8 bits unsigned integer, 0-255.
Char is unsigned on Intel arch, but is signed on arm.
Maybe it's time to get rid of qbytearray and qstring and qstringview, ...
And fully embrace (and contribute, like boost does, to) modern c++.
My 2 cents
> As for char8_t, it's C++20. We're not going to enforce compiling Qt with
> -std=c++2a.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel System Software Products
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190812/9f87b5de/attachment.html>
More information about the Development
mailing list