https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109182
--- Comment #3 from CVS 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:03f745992715872982d86bf2085f956bf0173b50 commit r12-9297-g03f745992715872982d86bf2085f956bf0173b50 Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Mar 20 09:30:58 2023 +0000 libstdc++: Remove template-head from std::expected<void> ctor [PR109182] The presence of a template-head on this constructor is a copy & paste error from the primary template. libstdc++-v3/ChangeLog: PR libstdc++/109182 * include/std/expected (expected<void>::expected(in_place_t)): Remove template-head.