diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-03-21 10:52:47 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-04-27 06:13:40 +0000 |
commit | ab06d402dd833cefe9c0d929c13e93068aab96d9 (patch) | |
tree | 9275504f61bdd53d3839d64673d157a155424451 /tests/manual/rhi/shared | |
parent | 2289fe932dbd3bf1e676cd3748e81333fba9aa1c (diff) |
QVariant: fix C++20 build with older MSVC 2022
... which claim full C++20 conformance (__cplusplus >= 202002), but
still lack https://wg21.link/P0846.
Fix by extending the existing workaround for lack of P0846 support to
these compilers.
Known to fail: _MSC_VER 1936
Known to pass: _MSC_VER 1939
We might need to check 1938 and 1937, but the workaround should only
show up as an additional get/get_if overload and not disturb normal
operation, so it's not critical to get the boundary version exactly
right.
Amends eb9c8042cfa71f16cda27cdeb052d84a6cc117d7.
Pick-to: 6.7
Task-number: QTQAINFRA-6204
Change-Id: Ia3e0072d606efb7efd6ce0f75239850c7cd925bb
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests/manual/rhi/shared')
0 files changed, 0 insertions, 0 deletions