aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-10 12:21:52 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-11 00:41:09 +0000
commit0953497a81f1e320989b9f2aaa7f56747eddd4a0 (patch)
treee366825c4646108dbd695fcbd1d3d781f321bc84 /gcc
parent94cc8e9d6f9f186d5fb1ca68fdf55e3c8090f3f6 (diff)
downloadgcc-0953497a81f1e320989b9f2aaa7f56747eddd4a0.zip
gcc-0953497a81f1e320989b9f2aaa7f56747eddd4a0.tar.gz
gcc-0953497a81f1e320989b9f2aaa7f56747eddd4a0.tar.bz2
libstdc++: Add static_assert to std::integer_sequence [PR112473]
C++20 allows class types as non-type template parameters, but std::integer_sequence explicitly disallows them. Enforce that. libstdc++-v3/ChangeLog: PR libstdc++/112473 * include/bits/utility.h (integer_sequence): Add static_assert. * testsuite/20_util/integer_sequence/112473.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions