10 #include <experimental/string_view> 11 #include <u5e/utf8_string_view.hpp> 12 #include <u5e/utf8_string_view_grapheme.hpp> 13 #include <u5e/utf8_string_view_grapheme_iterator.hpp> 16 using std::experimental::string_view;
17 using u5e::utf8_string_view;
18 using u5e::utf8_string_view_grapheme;
19 using u5e::utf8_string_view_grapheme_iterator;
21 int main(
int argc,
char **argv) {
24 for (
int i = 1; i < argc; i++) {
41 printf(
" U+%06llx", (
long long unsigned int)
*it);
utf8_const_iterator operator++(int junk)
basic_encodedstring< utf8, std::experimental::string_view > utf8_string_view
A basic_encodedstring of utf8 and string_view.
basic_grapheme< utf8_string_view > utf8_string_view_grapheme
A basic_grapheme of utf8_string_view.
const_codepoint_iterator codepoint_end()
basic_grapheme_iterator< utf8_string_view > utf8_string_view_grapheme_iterator
A basic_grapheme_iterator of utf8_string_view.
basic_encodedstring(const NativeString &s)
basic_grapheme_iterator< basic_encodedstring > grapheme_end()
bool operator!=(const utf8_const_iterator &rhs) const
bool operator!=(basic_grapheme_iterator other)
const codepoint operator*()
basic_grapheme_iterator< basic_encodedstring > grapheme_begin()
const_codepoint_iterator codepoint_begin()
basic_grapheme_iterator operator++(int i)