Details
-
Epic
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
C++20 deprecations @ Qt
Description
C++20 deprecated the following:
- implicit capture of this in [=] lambda capture
- arithmetic with enums
E1 | E2 val * E3
- some uses of volatile (basically everything except straight loads and stores)
- already have some fixes in qvolatile_p.h
- comma operator in [ ] subscripts (in preparation of C++23 adding multi-dimensional subscripting)
We need to fix the fallout (most of it done at this point, but we need to continuously fix issues in new code).
Attachments
Issue Links
- is required for
-
QTBUG-99243 Initiative: Qt and C++20
- Open
-
QTBUG-109360 Use C++20 code with Qt (Phase I)
- Open