arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::policy::validation::utility::insert_rule< I, Rule, Rules > Struct Template Reference

#include <arg_router/policy/validator_rule_utilities.hpp>

Public Types

using type = boost::mp11::mp_insert_c< Rules, I, Rule >
 

Detailed Description

template<std::size_t I, typename Rule, typename Rules>
struct arg_router::policy::validation::utility::insert_rule< I, Rule, Rules >

Inserts Rule into Rules at position I.

Template Parameters
IIndex to insert at
RuleNew rule
RulesList to update

Definition at line 63 of file validator_rule_utilities.hpp.

Member Typedef Documentation

◆ type

template<std::size_t I, typename Rule , typename Rules >
using arg_router::policy::validation::utility::insert_rule< I, Rule, Rules >::type = boost::mp11::mp_insert_c<Rules, I, Rule>

Updated rules list.

Definition at line 67 of file validator_rule_utilities.hpp.


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