Beispiel #1
0
 inline bool char_is_titlecase(char32_t c) noexcept { return char_general_category(c) == GC::Lt; }
Beispiel #2
0
 inline bool char_is_unassigned(char32_t c) noexcept { return char_general_category(c) == GC::Cn; }
Beispiel #3
0
 inline bool char_is_control(char32_t c) noexcept { return char_general_category(c) == GC::Cc; }
Beispiel #4
0
 inline bool char_is_format(char32_t c) noexcept { return char_general_category(c) == GC::Cf; }
 inline char char_primary_category(char32_t c) noexcept { return char(uint16_t(char_general_category(c)) >> 8); }