C++ Logo

std-proposals

Advanced search

Re: [std-proposals] CHAR_BIT might not be 8

From: Jerry Coffin <jerry.coffin_at_[hidden]>
Date: Wed, 12 Oct 2022 23:03:27 -0700
On Wed, Oct 12, 2022 at 9:02 PM Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:

[ ...]


> C has the same constraint since C11, but Unicode strings and characters
> are
> optional there, so the constraint is optional.


C has required CHAR_BIT >= 8 since C89 (e.g., C89 requires UCHAR_MAX >=
255).

Received on 2022-10-13 06:04:03