Title
lexicographical_compare_three_way is overspecified
Status
new
Section
[alg.three.way]
Submitter
Casey Carter

Created on 2020-02-27.00:00:00 last changed 4 months ago

Messages

Date: 2020-03-29.00:00:00

[ 2020-03-29 Issue Prioritization ]

Priority to 3 after reflector discussion.

Date: 2020-02-27.00:00:00

[alg.three.way]/2 specifies the effects of the lexicographical_compare_three_way algorithm via a large "equivalent to" codeblock. This codeblock specifies one more iterator comparison than necessary when the first input sequence is greater than the second, and two more than necessary in other cases. Requiring unnecessary work is the antithesis of C++.

History
Date User Action Args
2020-02-29 16:31:18adminsetmessages: + msg11154
2020-02-27 00:00:00admincreate