C++ Logo


Advanced search

Subject: Re: Did the standard committee vote to make integer comparisons do the right thing?
From: Michael Spencer (bigcheesegs_at_[hidden])
Date: 2019-11-06 17:38:14

On Wed, Nov 6, 2019 at 2:21 PM Brian Bi via Std-Discussion <
std-discussion_at_[hidden]> wrote:

> 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
> conversions"
> 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.

There was a vote supporting someone coming with a paper that
investigated that direction. We've yet to actually get the paper.

- Michael Spencer

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

Older Archives on Google Groups