C++ Logo


Advanced search

Re: [ub] [c++std-ext-14555] Sized integer types and char bits

From: Lawrence Crowl <Lawrence_at_[hidden]>
Date: Fri, 18 Oct 2013 20:19:31 -0700
On 10/18/13, John Spicer <jhs_at_[hidden]> wrote:
> What does requiring CHAR_BIT == 8 buy us? Sorry if I missed that
> detail in the large volume of messages in this thread.

Since the introduction of UTF-8 literals, we have required CHAR_BIT
>= 8. So, the change would be to cap CHAR_BIT at 8. I remember
something about a 24-bit system on the gcc mailing lists a couple of
years ago, but I don't remember what happened with char.

Lawrence Crowl

Received on 2013-10-19 05:19:33