|
arg_router
1.4.0
C++ command line argument parsing and routing
|
#include <arg_router/policy/required.hpp>
Public Member Functions | |
| template<typename ValueType , typename... Parents> | |
| ValueType | missing_phase ([[maybe_unused]] const Parents &... parents) const |
Static Public Attributes | |
| constexpr static auto | priority = std::size_t{450} |
Used to a mark a command line argument type as required i.e. it is a parse error if the token is missing.
Definition at line 19 of file required.hpp.
|
inline |
Throw an error.
| ValueType | Parsed value type, not used in this method |
| Parents | Pack of parent tree nodes in ascending ancestry order |
| parents | Parents instances pack, not used in this method |
| multi_lang_exception | Thrown if this method is called |
Definition at line 34 of file required.hpp.
|
staticconstexpr |
Policy priority.
Definition at line 23 of file required.hpp.