arg_router
1.4.0
C++ command line argument parsing and routing
|
Classes | |
class | range |
class | iterator |
Typedefs | |
using | type = std::uint32_t |
Functions | |
constexpr std::size_t | count (std::string_view str) noexcept |
constexpr std::size_t | size (std::string_view str) noexcept |
constexpr std::optional< type > | decode (std::string_view str) noexcept |
Namespace for UTF-8 code point types and functions.
using arg_router::utility::utf8::code_point::type = typedef std::uint32_t |
Code point type.
Definition at line 16 of file code_point.hpp.
|
inlineconstexprnoexcept |
Number of UTF-8 code points in the string.
str | Input string |
Definition at line 129 of file code_point.hpp.
|
inlineconstexprnoexcept |
Decodes the leading code point of str into the underlying numerical representation.
Only up to the first four bytes of str are read. Undefined behaviour if str is malformed.
str | Code point |
Definition at line 184 of file code_point.hpp.
|
inlineconstexprnoexcept |
Returns the size in bytes for the leading code point of str
str | Input string |
Definition at line 148 of file code_point.hpp.