libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Specialization of UTF8Iterator that works even for input iterators. More...
#include <donut/unicode.hpp>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = char32_t |
using | reference = const value_type & |
using | pointer = const value_type * |
using | iterator_category = std::input_iterator_tag |
using | sentinel = UTF8Sentinel |
Public Member Functions | |
constexpr | UTF8Iterator ()=default |
constexpr | UTF8Iterator (It it, Sentinel end) |
constexpr bool | operator== (const UTF8Iterator &other) const |
constexpr bool | operator== (const UTF8Sentinel &) const |
constexpr reference | operator* () const |
constexpr pointer | operator-> () const |
constexpr UTF8Iterator & | operator++ () |
constexpr UTF8Iterator | operator++ (int) |
Specialization of UTF8Iterator that works even for input iterators.
It | underlying UTF-8 code unit input iterator type to wrap. |
Sentinel | sentinel type for It. |
using donut::unicode::UTF8Iterator< It, Sentinel >::difference_type = std::ptrdiff_t |
using donut::unicode::UTF8Iterator< It, Sentinel >::value_type = char32_t |
using donut::unicode::UTF8Iterator< It, Sentinel >::reference = const value_type& |
using donut::unicode::UTF8Iterator< It, Sentinel >::pointer = const value_type* |
using donut::unicode::UTF8Iterator< It, Sentinel >::iterator_category = std::input_iterator_tag |
using donut::unicode::UTF8Iterator< It, Sentinel >::sentinel = UTF8Sentinel |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |