]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Simplify std::three_way_comparable_with (LWG 3360)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 21:45:59 +0000 (21:45 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 21:49:24 +0000 (21:49 +0000)
commit256f67aa078de0e7bf53a0870c2cb87ab90cda09
tree480cfbf5480476fba55fe91099be74e6493c0dbd
parent0294dc5f4eec5a07d70fac48f75c498c3b1a339b
libstdc++: Simplify std::three_way_comparable_with (LWG 3360)

This also removes a useless condition that was supposed to be removed by
the P1959R0 changes, but left in when that was implemented.

* libsupc++/compare (three_way_comparable): Remove always-false check
that should have been removed with weak_equality (P1959R0).
(three_way_comparable_with): Likewise. Reorder requirements (LWG 3360).
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/compare
This page took 0.057192 seconds and 6 git commands to generate.