Date: Wed, 12 Oct 2022 21:02:28 -0700
On Wednesday, 12 October 2022 17:32:36 PDT William Linkmeyer via Std-Proposals
wrote:
> - Forget supercomputers; I’ve worked on plenty of embedded devices that have
> small CHAR_BITs
The minimum CHAR_BIT for C++ since C++11 is 8, It's not spelled out that way
in the text of the standard. But it requires that char be able to store any
UTF-8 code unit.
C has the same constraint since C11, but Unicode strings and characters are
optional there, so the constraint is optional.
wrote:
> - Forget supercomputers; I’ve worked on plenty of embedded devices that have
> small CHAR_BITs
The minimum CHAR_BIT for C++ since C++11 is 8, It's not spelled out that way
in the text of the standard. But it requires that char be able to store any
UTF-8 code unit.
C has the same constraint since C11, but Unicode strings and characters are
optional there, so the constraint is optional.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2022-10-13 04:02:30