qcompilerdetection.h: de-duplicate feature test macro discussion

Both links are valid for both C++14/17 and C++20+ variants, they're
just sorted differently. Mention that.

Pick-to: 6.4
Change-Id: Id88ec05f935fd6d01c0f1e733ca42faaaa88dd25
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Marc Mutz 2022-11-21 12:25:26 +01:00
parent ca24ee14df
commit e2c08b5f3a

View File

@ -503,13 +503,13 @@
* *
* *
* For the C++ standards C++14 and C++17, we use only the SD-6 macro. * For the C++ standards C++14 and C++17, we use only the SD-6 macro.
* For full listing, see
* http://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
* *
* For any future version of the C++ standard, we use only the C++20 feature test macro. * For any future version of the C++ standard, we use only the C++20 feature test macro.
* For library features, we assume <version> is present (this header includes it). * For library features, we assume <version> is present (this header includes it).
* For full listing, see *
* https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros * For a full listing of feature test macros, see
* https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations (by macro)
* https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros (by C++ version)
* *
* C++ extensions: * C++ extensions:
* Q_COMPILER_RESTRICTED_VLA variable-length arrays, prior to __cpp_runtime_arrays * Q_COMPILER_RESTRICTED_VLA variable-length arrays, prior to __cpp_runtime_arrays