https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102894
--- Comment #1 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:0c1f737a485f05c591c94b50acfb416c45a4c916 commit r12-4634-g0c1f737a485f05c591c94b50acfb416c45a4c916 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.