u5e
UnicodeTextC++Library
utf8_string_view.hpp
1 #ifndef INCLUDED_U5E_UTF8_STRING_VIEW
2 #define INCLUDED_U5E_UTF8_STRING_VIEW
3 
4 #include <experimental/string_view>
5 #include <u5e/basic_encodedstring.hpp>
6 #include <u5e/utf8_iterator.hpp>
7 #include <u5e/utf8.hpp>
8 
9 namespace u5e {
10  /**
11  * \class u5e::utf8_string_view
12  * \brief Typedef: basic_encodedstring of utf8 and string_view.
13  *
14  * Although this is a typedef, it shows up in doxygen as a class for
15  * better discoverability.
16  *
17  * \typedef u5e::utf8_string_view
18  * \brief A basic_encodedstring of utf8 and string_view.
19  */
20  typedef basic_encodedstring<utf8, std::experimental::string_view>
22 };
23 
24 #endif
main u5e namespace
basic_encodedstring< utf8, std::experimental::string_view > utf8_string_view
A basic_encodedstring of utf8 and string_view.
Encoding type for UTF8 text. Unlike UTF16 and UTF32, UTF8 is endian independent.
Definition: utf8.hpp:17
basic encoding support over string-like objects.