https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112473

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:dc0964f43dcee46dcd1843287a541668fd08a4a8

commit r12-10254-gdc0964f43dcee46dcd1843287a541668fd08a4a8
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)
  • [Bug libstdc++/112473] integer_... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to