https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:0953497a81f1e320989b9f2aaa7f56747eddd4a0 commit r14-5347-g0953497a81f1e320989b9f2aaa7f56747eddd4a0 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.