7 #include "arg_router/exception.hpp"
8 #include "arg_router/parsing/parsing.hpp"
9 #include "arg_router/policy/policy.hpp"
18 template <
typename =
void>
23 constexpr
static auto priority = std::size_t{450};
33 template <
typename ValueType,
typename... Parents>
34 [[noreturn]] ValueType
missing_phase([[maybe_unused]]
const Parents&... parents)
const
36 static_assert(
sizeof...(Parents) >= 1,
"Alias requires at least 1 parent");
38 using node_type = boost::mp11::mp_first<std::tuple<Parents...>>;
41 parsing::node_token_type<node_type>()};
constexpr static auto priority
ValueType missing_phase([[maybe_unused]] const Parents &... parents) const
constexpr bool is_required_v
std::is_base_of< required_t<>, T > is_required
@ missing_required_argument
A node has been marked as required but no token matches it.