libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Non-owning view type for decoding Unicode code points from a contiguous UTF-8 string. More...
#include <donut/unicode.hpp>
Public Types | |
using | iterator = UTF8Iterator< const char8_t * > |
using | difference_type = typename iterator::difference_type |
using | value_type = typename iterator::value_type |
using | reference = typename iterator::reference |
using | pointer = typename iterator::pointer |
using | iterator_category = typename iterator::iterator_category |
using | sentinel = typename iterator::sentinel |
Public Member Functions | |
constexpr | UTF8View () noexcept=default |
constexpr | UTF8View (std::u8string_view str) noexcept |
UTF8View (std::string_view str) noexcept | |
constexpr const iterator & | begin () const noexcept |
constexpr sentinel | end () const noexcept |
Non-owning view type for decoding Unicode code points from a contiguous UTF-8 string.
using donut::unicode::UTF8View::iterator = UTF8Iterator<const char8_t*> |
using donut::unicode::UTF8View::difference_type = typename iterator::difference_type |
using donut::unicode::UTF8View::value_type = typename iterator::value_type |
using donut::unicode::UTF8View::reference = typename iterator::reference |
using donut::unicode::UTF8View::pointer = typename iterator::pointer |
using donut::unicode::UTF8View::iterator_category = typename iterator::iterator_category |
using donut::unicode::UTF8View::sentinel = typename iterator::sentinel |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineexplicitnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |