|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Iterator type for decoding Unicode code points from a UTF-8 string, wrapping an existing iterator for UTF-8 code units. More...
#include <GREM/core/formats/unicode.hpp>
Public Types | |
| using | difference_type = 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 (BaseIterator it, BaseSentinel 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) |
Iterator type for decoding Unicode code points from a UTF-8 string, wrapping an existing iterator for UTF-8 code units.
| BaseIterator | underlying UTF-8 code unit iterator type to wrap. |
| BaseSentinel | sentinel type for BaseIterator. |
| using grem::unicode::UTF8Iterator< BaseIterator, BaseSentinel >::difference_type = ptrdiff_t |
| using grem::unicode::UTF8Iterator< BaseIterator, BaseSentinel >::value_type = char32_t |
| using grem::unicode::UTF8Iterator< BaseIterator, BaseSentinel >::reference = const value_type& |
| using grem::unicode::UTF8Iterator< BaseIterator, BaseSentinel >::pointer = const value_type* |
| using grem::unicode::UTF8Iterator< BaseIterator, BaseSentinel >::iterator_category = std::input_iterator_tag |
| using grem::unicode::UTF8Iterator< BaseIterator, BaseSentinel >::sentinel = UTF8Sentinel |
|
constexprdefault |
|
inlineconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlinenodiscardconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |