06.07.2019, 17:20, "Mutz, Marc via Development" <[email protected]>:
> On 2019-07-06 14:50, Fabian Kosmale wrote:
> [...]
>>   See https://godbolt.org/z/e6OinY for how this would look for a
>>  trivial function.
>
> [...]
>
> Now also handle test(NULL) and extend to binary:
>
>     test2([0, NULL, nullptr, "", u8""], [0, NULL, nullptr, "", u8""])
>
> This doesn't scale...

It can be argued that use of NULL in C++ code is more relict thing and should 
not be
supported. It's also much easier to migrate code base from NULL to nullptr - 
simple text
replacement is enough.


-- 
Regards,
Konstantin

_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to