arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::utility::utf8::iterator::range_t Class Reference

#include <arg_router/utility/utf8.hpp>

Public Member Functions

constexpr iterator begin () noexcept
 

Static Public Member Functions

constexpr static iterator end () noexcept
 

Detailed Description

A simple wrapper for a string view that allows code point iteration in range-for loops.

for (auto cp : iterator::range(str)) {
// Do stuff
}
constexpr static range_t range(std::string_view str) noexcept
Definition: utf8.hpp:98

Definition at line 70 of file utf8.hpp.

Member Function Documentation

◆ begin()

constexpr iterator arg_router::utility::utf8::iterator::range_t::begin ( )
inlineconstexprnoexcept

Returns a start iterator.

Returns
Start iterator

Definition at line 79 of file utf8.hpp.

◆ end()

constexpr static iterator arg_router::utility::utf8::iterator::range_t::end ( )
inlinestaticconstexprnoexcept

Returns an end iterator.

Returns
End iterator

Definition at line 85 of file utf8.hpp.


The documentation for this class was generated from the following file: