https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113386

--- Comment #10 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:2a0c083558b4ac6609692294df7a388cf4468711

commit r14-9979-g2a0c083558b4ac6609692294df7a388cf4468711
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Jan 15 14:47:52 2024 +0000

    libstdc++: Heterogeneous std::pair comparisons [PR113386]

    I'm only treating this as a DR for C++20 for now, because it's less work
    and only requires changes to operator== and operator<=>. To do this for
    older standards would require changes to the six relational operators
    used pre-C++20.

    libstdc++-v3/ChangeLog:

            PR libstdc++/113386
            * include/bits/stl_pair.h (operator==, operator<=>): Support
            heterogeneous comparisons, as per LWG 3865.
            * testsuite/20_util/pair/comparison_operators/lwg3865.cc: New
            test.
  • [Bug libstdc++/113386] [C++23] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to