[Development] QString and related changes for Qt 6

Matthew Woehlke mwoehlke.floss at gmail.com
Wed May 13 17:57:17 CEST 2020


On 13/05/2020 11.49, Giuseppe D'Angelo wrote:
> 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 >:-)

Touché :-D. I fixed it in my godbolt experiment, but yup, missed it here.


-- 
Matthew


More information about the Development mailing list