CPP-AP 2.2.6
Command-line argument parser for C++20
|
Main library header file. Defines the argument_parser
class.
More...
#include "argument/default.hpp"
#include "argument/optional.hpp"
#include "argument/positional.hpp"
#include "detail/argument_token.hpp"
#include "detail/concepts.hpp"
#include <algorithm>
#include <format>
#include <ranges>
#include <span>
Go to the source code of this file.
Classes | |
class | ap::argument_parser |
Main argument parser class. More... | |
Functions | |
void | ap::detail::add_default_argument (const argument::default_positional arg_discriminator, argument_parser &arg_parser) noexcept |
Adds a predefined/default positional argument to the parser. | |
void | ap::detail::add_default_argument (const argument::default_optional arg_discriminator, argument_parser &arg_parser) noexcept |
Adds a predefined/default optional argument to the parser. | |
Main library header file. Defines the argument_parser
class.
Definition in file argument_parser.hpp.
|
inlinenoexcept |
Adds a predefined/default optional argument to the parser.
arg_discriminator | The default argument discriminator. |
arg_parser | The argument parser to which the argument will be added. |
Definition at line 819 of file argument_parser.hpp.
|
inlinenoexcept |
Adds a predefined/default positional argument to the parser.
arg_discriminator | The default argument discriminator. |
arg_parser | The argument parser to which the argument will be added. |
Definition at line 798 of file argument_parser.hpp.