arg_router
1.4.0
C++ command line argument parsing and routing
|
#include <arg_router/utility/utf8.hpp>
Public Types | |
using | difference_type = std::string_view::difference_type |
using | value_type = std::string_view |
using | pointer = const value_type * |
using | reference = const value_type & |
using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
constexpr | line_iterator () noexcept |
constexpr | line_iterator (std::string_view str, std::size_t max_columns) noexcept |
constexpr std::size_t | max_columns () const noexcept |
constexpr bool | operator== (line_iterator other) const noexcept |
constexpr bool | operator!= (line_iterator other) const noexcept |
constexpr value_type | operator* () const noexcept |
constexpr line_iterator | operator++ (int) noexcept |
Iterates over a string view, dereferencing to a substring that is equal or less than the max terminal column count, breaking on whitespace.
using arg_router::utility::utf8::line_iterator::difference_type = std::string_view::difference_type |
using arg_router::utility::utf8::line_iterator::iterator_category = std::forward_iterator_tag |
using arg_router::utility::utf8::line_iterator::pointer = const value_type* |
using arg_router::utility::utf8::line_iterator::reference = const value_type& |
using arg_router::utility::utf8::line_iterator::value_type = std::string_view |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |