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

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

https://gcc.gnu.org/g:88d481c9ee1e6a24dc11ab56d8688308e0211855

commit r11-9293-g88d481c9ee1e6a24dc11ab56d8688308e0211855
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Oct 22 22:55:00 2021 +0100

    libstdc++: Constrain std::make_any [PR102894]

    std::make_any should be constrained so it can only be called if the
    construction of the return value would be valid.

    libstdc++-v3/ChangeLog:

            PR libstdc++/102894
            * include/std/any (make_any): Add SFINAE constraint.
            * testsuite/20_util/any/102894.cc: New test.

    (cherry picked from commit 0c1f737a485f05c591c94b50acfb416c45a4c916)

Reply via email to