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

--- Comment #3 from CVS 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:9847a4e9f025e66bfd09e0174e8bd32aa01939af

commit r13-8021-g9847a4e9f025e66bfd09e0174e8bd32aa01939af
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Sep 12 21:28:38 2023 +0100

    libstdc++: Remove non-void static assertions in variant's std::get
[PR111172]

    A void template argument would cause a substitution failure when trying
    to form a reference for the return type, so the function body would
    never be instantiated.

    libstdc++-v3/ChangeLog:

            PR libstdc++/111172
            * include/std/variant (get<T>): Remove !is_void static
            assertions.

    (cherry picked from commit d19bdf8874059457fdfe50a9e14dad8f8b8cecbb)
  • [Bug libstdc++/111172] Dead cod... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to