C++ "range" for iterating over the code points of a USet.
using U_HEADER_NESTED_NAMESPACE::USetCodePoints;
printf("uset.codePoint 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 codePoints().
- Draft:
- This API may be changed in the future versions and was introduced in ICU 76
- See also
- USetRanges
-
USetStrings
-
USetElements
Definition at line 1426 of file uset.h.