arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::policy::is_policy< T, Args > Struct Template Reference

#include <arg_router/policy/policy.hpp>

Inherits std::false_type.

Detailed Description

template<typename T, typename... Args>
struct arg_router::policy::is_policy< T, Args >

Evaluates to true if T is a policy.

Unfortunately due to the way that policies form an is-a relationship with their owners, we can't tag a type as a policy via inheritance. So all policies must create a specialisation of this and manually mark themselves as a policy.

Template Parameters
TType to test

Definition at line 30 of file policy.hpp.


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