Title
The resolution of LWG3465 was damaged by P2167R3
Status
wp
Section
[cmp.alg]
Submitter
Jiang An

Created on 2024-09-18.00:00:00 last changed 3 weeks ago

Messages

Date: 2024-11-28.21:40:31

Proposed resolution:

This wording is relative to N4988.

  1. Modify [cmp.alg] as indicated:

    (6.3) — Otherwise, if the expressions E == F, E < F, and F < E are all well-formed and each of `decltype(E == F)` and, decltype(E < F) , and decltype(F < E) models `boolean-testable`,
    
      E == F ? partial_ordering::equivalent :
      E < F  ? partial_ordering::less :
      F < E  ? partial_ordering::greater :
               partial_ordering::unordered
    
    except that `E` and `F` are evaluated only once.
Date: 2024-11-28.21:40:31

[ Wrocław 2024-11-23; Status changed: Voting → WP. ]

Date: 2024-10-15.00:00:00

[ 2024-10-02; Reflector poll ]

Set status to Tentatively Ready after seven votes in favour during reflector poll.

Date: 2024-09-18.00:00:00

In the resolution of LWG 3465, F < E was required to be well-formed and implicitly convertible to `bool`. However, P2167R3 replaced the convertibility requirements with just "each of `decltype(E == F)` and decltype(E < F) models `boolean-testable`", which rendered the type of F < E underconstrained.

History
Date User Action Args
2024-11-28 21:40:31adminsetmessages: + msg14497
2024-11-28 21:40:31adminsetstatus: voting -> wp
2024-11-19 16:09:07adminsetstatus: ready -> voting
2024-10-02 12:39:49adminsetmessages: + msg14403
2024-10-02 12:39:49adminsetstatus: new -> ready
2024-09-18 20:44:58adminsetmessages: + msg14377
2024-09-18 00:00:00admincreate