https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105505
--- Comment #2 from GCC 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:35f8c661d67f53486f2f3e25887323476a7d0c2b commit r14-7173-g35f8c661d67f53486f2f3e25887323476a7d0c2b Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Jan 11 22:38:02 2024 +0000 libstdc++: Implement C++23 P1951R1 (Default Args for pair's Forwarding Ctor) [PR105505] This was approved for C++23 at he June 2021 virtual meeting. This allows more efficient construction of std::pair members when {} is used as a constructor argument. The perfect forwarding constructor can be used, so that the member variables are constructed from forwarded arguments instead of being copy constructed from temporaries. libstdc++-v3/ChangeLog: PR libstdc++/105505 * include/bits/stl_pair.h (pair::pair(U1&&, U2&&)) [C++23]: Add default template arguments, as per P1951R1. * testsuite/20_util/pair/cons/default_tmpl_args.cc: New test.