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

Lawrence Crowl Lawrence at Crowl.org
Sat Oct 19 05:19:31 CEST 2013


On 10/18/13, John Spicer <jhs at edg.com> 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


More information about the ub mailing list