C++ "range" for iterating over the empty and multi-character strings of a USet.
More...
C++ "range" for iterating over the empty and multi-character strings of a USet.
using U_HEADER_NESTED_NAMESPACE::USetStrings;
UnicodeString us(s);
std::string u8;
printf("uset.string length %ld \"%s\"\n", (long)s.length(), us.toUTF8String(u8).c_str());
}
"Smart pointer" class, closes a USet via uset_close().
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 strings().
- Draft:
- This API may be changed in the future versions and was introduced in ICU 76
- See also
- USetCodePoints
-
USetRanges
-
USetElements
Definition at line 1715 of file uset.h.