Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
b057659255 (qt/qtbase/dev) b057659255 (qt/tqtc-qtbase/dev) 663e5259f5 (qt/qtbase/6.4) 663e5259f5 (qt/tqtc-qtbase/6.4)
Description
qcompilerdetection.h contains macros that were introduced to provide C+11/C14/C+17 compatibility in previous Qt versions. in Qt 6, they aren't necessary, and are just kept for compatibility. A comment in the header files says so:
Compatibility macros for C++11/14 keywords and expressions. Don't use in new code and port away whenever you have a chance.
Anyhow, the the documentation should also reflect the advice.