An iterator over the command-line arguments.
More...
#include <argv_input.hpp>
|
constexpr friend argv_iterator | argv_begin (int argc, char *argv[]) noexcept |
| Returns an iterator to the beginning of the command-line arguments. More...
|
|
constexpr friend argv_iterator | argv_end (int argc, char *argv[]) noexcept |
| Returns an iterator one past the end of the command-line arguments. More...
|
|
An iterator over the command-line arguments.
Definition at line 23 of file argv_input.hpp.
◆ argv_iterator() [1/2]
constexpr lexy::argv_iterator::argv_iterator |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ argv_iterator() [2/2]
constexpr lexy::argv_iterator::argv_iterator |
( |
char ** |
argument, |
|
|
char * |
c |
|
) |
| |
|
inlineexplicitconstexprprivatenoexcept |
◆ decrement()
constexpr void lexy::argv_iterator::decrement |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ deref()
constexpr const char& lexy::argv_iterator::deref |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ equal()
constexpr bool lexy::argv_iterator::equal |
( |
argv_iterator |
rhs | ) |
const |
|
inlineconstexprnoexcept |
◆ increment()
constexpr void lexy::argv_iterator::increment |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ is_end()
constexpr bool lexy::argv_iterator::is_end |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ argv_begin
constexpr friend argv_iterator argv_begin |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
friend |
Returns an iterator to the beginning of the command-line arguments.
Definition at line 89 of file argv_input.hpp.
◆ argv_end
constexpr friend argv_iterator argv_end |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
friend |
Returns an iterator one past the end of the command-line arguments.
Definition at line 99 of file argv_input.hpp.
◆ _arg
char** lexy::argv_iterator::_arg |
|
private |
◆ _c
char* lexy::argv_iterator::_c |
|
private |
The documentation for this class was generated from the following file: