https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108952
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:bd0179f31dfb9b009cb561d336f3f1c6fbdd4ceb commit r10-11319-gbd0179f31dfb9b009cb561d336f3f1c6fbdd4ceb Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Feb 27 22:34:57 2023 +0000 libstdc++: Fix uses_allocator_construction_args for pair<T&&, U&&> [PR108952] This implements LWG 3527 which fixes the handling of pair<T&&, U&&> in std::uses_allocator_construction_args. libstdc++-v3/ChangeLog: PR libstdc++/108952 * include/std/memory (uses_allocator_construction_args): Implement LWG 3527. * testsuite/20_util/pair/astuple/get-2.cc: New test. * testsuite/20_util/scoped_allocator/108952.cc: New test. * testsuite/20_util/uses_allocator/lwg3527.cc: New test. (cherry picked from commit 8e342c04550466ab088c33746091ce7f3498ee44)