word_view class
#include <nxt/utf8.hpp>
Forward range over non-separator words in a string view.
Public types
Constructors, destructors, conversion operators
- word_view() defaulted
- Construct an empty view.
-
word_view(std::
string_view text) explicit - Construct a word view over borrowed text.
Public functions
- auto begin() const → iterator noexcept
- Begin iterating words.
-
auto end() const → std::
default_sentinel_t noexcept - End sentinel.