|
rstd 0.1.0
|
A hand-rolled iterator over Unicode code points in a UTF-8 string slice. More...
Public Member Functions | |
| constexpr auto | is_empty () const noexcept -> bool |
Returns true if there are no remaining code points. | |
| constexpr auto | next_unchecked () noexcept -> char32_t |
| Decodes and returns the next code point, advancing the position. | |
A hand-rolled iterator over Unicode code points in a UTF-8 string slice.
Supports next() for manual iteration and begin()/end() for range-for.
|
inlineconstexprnoexcept |
Decodes and returns the next code point, advancing the position.
Returns char_::REPLACEMENT with no advance if already at end. Use is_empty() to check before calling.