dropbear3
Joined 4 years ago
Karma
160
Submissions
11
Member since
Dec 3
Joined 4 years ago
An implementation may allocate any addressable storage unit large enough to hold a bit-field. If enough space remains, a bit-field that immediately follows another bit-field in a structure shall be packed into adjacent bits of the same unit.
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf 6.7.2.1 § 10Bitfields! This is valid C:
struct foo {
unsigned bg_priority: 2;
unsigned character_base: 2;
// ...
};The Cutting Room Floor[0] is an empirical proof of this assertion.
Unicode has historically been against adding a separate codepoint for every single language's orthography when the glyphs are (almost) identical to an existing one ("allographs"). Controversy arose when the consortium proposed considering Han characters, which do have language variants, to be allographs, which led to what is known as "Han unification".
[0]: https://www.unicode.org/charts/PDF/U0000.pdf