C++ Logo

std-proposals

Advanced search

Re: [std-proposals] D4040R0 Case ranges

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Fri, 27 Feb 2026 18:30:16 +0000
On Fri, 27 Feb 2026 at 18:23, Jonathan Wakely <cxx_at_[hidden]> wrote:

>
>
> On Fri, 27 Feb 2026 at 18:03, Jan Schultke via Std-Proposals <
> std-proposals_at_[hidden]> wrote:
>
>>
>> > if (c >= 'a' && c <= 'z')
>>>
>>> This relies on ASCII being used, which I think should be mentioned.
>>> Somewhat
>>> related, but C2Y is standardizing sequential hex digits so case'a'...'f'
>>> and
>>> case'A'...'F' will work regardless of the character set used.
>>>
>>
>> Do you have a link for that?
>>
>
> https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3192.pdf
>

It was approved for C2y in the January 2024 meeting, and the first working
draft to include the changes is
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3301.pdf

Received on 2026-02-27 18:30:36