Re: [Development] (was: Re: C++20 @ Qt)

2022-11-11 Thread Marc Mutz via Development
On 10.11.22 09:59, Marc Mutz via Development wrote: > On 10.11.22 09:25, Marc Mutz via Development wrote: >> Given that Integrity seems to be the only tool-chain missing >> in dev, I propose the following policy going forward: >> >>> To detect post-C++17 library features, we require that exis

Re: [Development] How qAsConst and qExchange lead to qNN

2022-11-11 Thread Ulf Hermann via Development
There is an undeniable benefit of _offering_ QSpan, QStringView, and generator APIs in a few relevant cases: 1. Users want to pass a "foreign" container to a Qt function that doesn't only store it as QList or QString. It might merely iterate it or store it as something else. 2. Assume a cont