Module constants

Source
Expand description

Constants associated with chars.

Apart from the constants visibile on this page, the trait-based constants MIN, MAX, and NAME are also defined.

Constantsยง

CHAR_JUST_ABOVE_SURROGATES
The char that comes just after the surrogate range.
CHAR_JUST_BELOW_SURROGATES
The char that comes just before the surrogate range.
FIRST_SURROGATE_CODE_POINT
The first surrogate code point.
NUMBER_OF_CHARS
The number of Unicode scalar values. $2^{20}+2^{16}-2^{11} = \mathrm{0x10\,f800} = 1,\!112,\!064$.
NUMBER_OF_SURROGATE_CODE_POINTS
The number of surrogate code points; these are code points that do not correspond to any valid char.