[Development] Switching Qt default builds to C++20 where supported

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Oct 14 23:15:21 CEST 2024


On 14/10/2024 20:46, Mathias Hasselmann via Development wrote:
> The QtCS24 misses the single one big reason you want to switch C++20 now 
> and whenever possible: Concepts.
> They indeed are a total game changer and I'd boldy predict that 80% of 
> all meta-programming helpers in Qt's headers could be replaced by 
> concepts that are easier to understand, more expressive, more complete. 
> You simply do not like C++ if you are not eager to use concepts.
> 
> End of the advertisement block.

This has been discussed at QtCS. The problem is that this would "just" 
imply an easier development of Qt itself, but not necessarily a better 
development *with* Qt, as we don't really expose concepts as public 
APIs. Does that convenience of development for ourselves outweigh the 
market for platforms that are limited to C++17?

Thanks,
-- 
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 - Trusted Software Excellence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20241014/010ab7d5/attachment.bin>


More information about the Development mailing list