C++ Logo

SG12

Advanced search

Subject: Re: [ub] [c++std-ext-14555] Sized integer types and char bits
From: Lawrence Crowl (Lawrence_at_[hidden])
Date: 2013-10-18 22:19:31


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

SG12 list run by herb.sutter at gmail.com