arg_router
1.4.0
C++ command line argument parsing and routing
|
#include <arg_router/tree_node.hpp>
Public Types | |
using | type = boost::mp11::mp_eval_if_c< boost::mp11::mp_find_if_q< policies_type, finder >::value==std::tuple_size_v< policies_type >, void, boost::mp11::mp_at, policies_type, boost::mp11::mp_find_if_q< policies_type, finder > > |
Finds a policy that the PolicyChecker predicate passes.
PolicyChecker | Policy predicate, use one of policy::has_*_phase_method |
Args | Auxiliary arguments to pass to PolicyChecker |
Definition at line 78 of file tree_node.hpp.
using arg_router::tree_node< Params >::phase_finder< PolicyChecker, Args >::type = boost::mp11::mp_eval_if_c<boost::mp11::mp_find_if_q<policies_type, finder>::value == std::tuple_size_v<policies_type>, void, boost::mp11::mp_at, policies_type, boost::mp11::mp_find_if_q<policies_type, finder> > |
The policy type that passes PolicyChecker, or void if one is not found.
Definition at line 82 of file tree_node.hpp.