Section: 24.5.1.8 [reverse.iter.cmp] Status: NAD Submitter: AFNOR Opened: 1998-10-07 Last modified: 2021-06-06
Priority: Not Prioritized
View all issues with NAD status.
Discussion:
The <, >, <=, >= comparison operator are wrong: they return the opposite of what they should.
Note: same problem in CD2, these were not even defined in CD1. SGI STL code is correct; this problem is known since the Morristown meeting but there it was too late
Rationale:
This is not a defect in the Standard. A careful reading shows the Standard is correct as written. A review of several implementations show that they implement exactly what the Standard says.