arg_router
1.4.0
C++ command line argument parsing and routing
|
#include <arg_router/multi_arg.hpp>
Classes | |
class | help_data_type |
Public Types | |
using | value_type = typename parent_type::value_type |
Public Member Functions | |
constexpr | multi_arg_t (Policies... policies) noexcept |
Additional Inherited Members | |
Protected Types inherited from arg_router::multi_arg_base_t< T, 1, std::decay_t< Policies >... > | |
using | value_type = T |
using | help_data_type = typename parent_type::template default_leaf_help_data_type< Flatten > |
Protected Member Functions inherited from arg_router::multi_arg_base_t< T, 1, std::decay_t< Policies >... > | |
constexpr | multi_arg_base_t (Policies... policies, std::enable_if_t< has_min_max > *=nullptr) noexcept |
value_type | parse (parsing::parse_target target, const Parents &... parents) const |
Represents a named argument on the command line that has multiple values that needs parsing.
Cannot have a none name or display name policy. A policy::token_end_marker_t can be used to mark the end of a variable length value token list on the command line.
T | Argument value type, must be a container that supports push_back if the count is variable |
Policies | Pack of policies that define its behaviour |
Definition at line 24 of file multi_arg.hpp.
using arg_router::multi_arg_t< T, Policies >::value_type = typename parent_type::value_type |
Argument value type.
Definition at line 44 of file multi_arg.hpp.
|
inlineexplicitconstexprnoexcept |