10 #include <experimental/string_view> 11 #include <u5e/utf8_string_view.hpp> 14 using std::experimental::string_view;
16 int main(
int argc,
char **argv) {
18 for (
int i = 1; i < argc; i++) {
21 string_view p(argv[i], strlen(argv[i]));
27 while (it
!= p.end()) {
31 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.
bool operator!=(const utf8_const_iterator &rhs) const
const codepoint operator*()