[Development] QString and related changes for Qt 6

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed May 13 17:49:54 CEST 2020


Il 13/05/20 16:44, Matthew Woehlke ha scritto:
>> Note that adding the QString(char16_t*) constructor
> Pedantic, but surely you meant `char16_t const*`.

Hey, you can't nitpick here ...

> 
> This can be solved with a third overload:
> 
>    template <size_t N>
>    void foo(char16_t (&s)[N]) { foo(QStringView{s, N}); }
... and then do the same mistake in the same email >:-)

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200513/00dfc397/attachment.bin>


More information about the Development mailing list