https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105153
--- Comment #2 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:7b4495d3c4040d8f56c05dd254d76269d4471623 commit r12-8063-g7b4495d3c4040d8f56c05dd254d76269d4471623 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Apr 8 18:26:23 2022 +0100 libstdc++: Fix constraints on std::expected<void, E> constructor [PR105153] libstdc++-v3/ChangeLog: PR libstdc++/105153 * include/std/expected (expected<void,E>::expected(expected<U,G>&&)): Fix constraints. * testsuite/20_util/expected/cons.cc: Check constructor.