A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue99 below:

Issue 99: Reverse_iterator comparisons completely wrong

This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

99. Reverse_iterator comparisons completely wrong

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4