Iterator class
#include <btu/common/string.hpp>
UTF8Public types
-
using difference_type = std::
ptrdiff_t -
using iterator_category = std::
input_iterator_tag - using pointer = U8Unit
- using reference = U8Unit
- using value_type = U8Unit
Public static functions
-
static auto end(std::
u8string_view string) → UTF8Iterator constexpr
Constructors, destructors, conversion operators
-
UTF8Iterator(std::
u8string_view string) explicit constexpr
Public functions
- auto operator*() const → reference constexpr
- auto operator++() → UTF8Iterator& constexpr
- auto operator++(int) → UTF8Iterator constexpr
- auto operator->() const → pointer constexpr
-
auto operator<=>(const UTF8Iterator& other) const → std::
strong_ordering constexpr - auto operator==(const UTF8Iterator& other) const → bool constexpr