aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/std
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2025-06-13 11:38:23 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2025-06-13 15:20:18 +0200
commitf6f4efdf397269793167fb1303967e7ad0e467a7 (patch)
tree62a8c0d8abfb578f70a32f05b5ac0f17c4c7540a /libstdc++-v3/testsuite/std
parente907ee7c4d4e739d2ee219467d95ff34b2870c73 (diff)
downloadgcc-f6f4efdf397269793167fb1303967e7ad0e467a7.zip
gcc-f6f4efdf397269793167fb1303967e7ad0e467a7.tar.gz
gcc-f6f4efdf397269793167fb1303967e7ad0e467a7.tar.bz2
libstdc++: add a workaround for format_kind<optional<T>> [PR120644]
The specialization of format_kind for optional is causing a problem when optional is imported and included. The comments on the PR strongly suggest that this is a frontend bug; this commit just works around the issue by specifying the type of format_kind<optional<T>> to be `range_format`, rather than leaving the compiler deduce it via `auto`. PR c++/120644 libstdc++-v3/ChangeLog: * include/std/optional (format_kind): Do not use `auto`.
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions