C++ Logo


Advanced search

Subject: Did the standard committee vote to make integer comparisons do the right thing?
From: Brian Bi (bbi5291_at_[hidden])
Date: 2019-11-06 16:21:29

On March 13, 2018, I was told that the standard committee voted 5/17/5/4/0
to make integer comparisons do the right thing, e.g., `-1 < 0U` will become
true, whereas in C++17, it is false thanks to the "usual arithmetic

However, looking through the lists of proposals from 2017 through 2019 on
the WG21 website, and at the wording of the current draft, I can't find any
evidence that such a change was made.

*Brian Bi*

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups