C++ "range" for iterating over the code point ranges of a USet.
using U_HEADER_NESTED_NAMESPACE::USetRanges;
printf(
"uset.range U+%04lx..U+%04lx\n", (
long)start, (
long)
end);
}
printf("uset.range.c U+%04lx\n", (long)c);
}
}
"Smart pointer" class, closes a USet via uset_close().
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
U_CAPI USet * uset_openPattern(const UChar *pattern, int32_t patternLength, UErrorCode *ec)
Creates a set from the given pattern.
C++ UnicodeSet has member functions for iteration, including ranges().
- Draft:
- This API may be changed in the future versions and was introduced in ICU 76
- See also
- USetCodePoints
-
USetStrings
-
USetElements
Definition at line 1607 of file uset.h.