Static Public Member Functions | |
static unsigned | code_unit_size (utf32_char_type chr) |
static bool | is_high_surrogate (code_unit_type c) |
static bool | is_low_surrogate (code_unit_type c) |
static bool | is_surrogate (code_unit_type c) |
A utility class to read UTF16-encoded character data.
static bool fe::enc_traits_utf16< CodeUnitType >::is_high_surrogate | ( | code_unit_type | c | ) | [inline, static] |
Returns true
if the passed in UTF16 code unit is a high order element of a surrogate pair.
c | code unit to test. |
static bool fe::enc_traits_utf16< CodeUnitType >::is_low_surrogate | ( | code_unit_type | c | ) | [inline, static] |
Returns true
if the passed in UTF16 code unit is a low order element of a surrogate pair.
c | code unit to test. |
static bool fe::enc_traits_utf16< CodeUnitType >::is_surrogate | ( | code_unit_type | c | ) | [inline, static] |
Returns true
if the passed in UTF16 code unit is either high or low order element of a surrogate pair.
c | code unit to test. |
static unsigned fe::enc_traits_utf16< CodeUnitType >::code_unit_size | ( | utf32_char_type | chr | ) | [inline, static] |
Returns number of UTF16 code units needed to represent the given UTF32-encoded character.
chr | UTF32-encoded character test. |