arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::tree_node< Params >::any_phases< ValueType, PolicyCheckers > Class Template Reference

#include <arg_router/tree_node.hpp>

Detailed Description

template<typename... Params>
template<typename ValueType, template< typename... > typename... PolicyCheckers>
class arg_router::tree_node< Params >::any_phases< ValueType, PolicyCheckers >

Evaluates to true if any of the PolicyCheckers predicates pass.

This is effectively a wrapper over phase_finder that loops over multiple policy checkers.

Most nodes don't support certain phases, this predicate allows for static_assert testing for their presence.

Template Parameters
ValueTypeSome policy checkers require a value type template parameter, if a particular policy doesn't need it then it is not used
PolicyCheckersParameter pack type of policy predicates, use policy::has_*_phase_method

Definition at line 111 of file tree_node.hpp.


The documentation for this class was generated from the following file: