byte_offset_t struct
#include <nxt/utf8.hpp>
Byte offset into a UTF-8 string.
Public functions
-
auto count() const → std::
size_t constexpr noexcept - Return the raw byte offset.
-
auto operator+=(std::
size_t bytes) → byte_ offset_ t& constexpr noexcept
Public variables
-
std::
size_t v - Raw byte offset.
Friends
-
auto operator<=>(byte_
offset_ t, byte_ offset_ t) → auto defaulted constexpr noexcept -
auto operator==(byte_
offset_ t, byte_ offset_ t) → bool defaulted constexpr noexcept