https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:f6ed5e0715da7040b04c465424bb33fcb95a5c20 commit r13-8131-gf6ed5e0715da7040b04c465424bb33fcb95a5c20 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Nov 10 12:21:52 2023 +0000 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. (cherry picked from commit 0953497a81f1e320989b9f2aaa7f56747eddd4a0)