|
CPP-AP 3.0.1
Command-line argument parser for C++20
|
A visitor structure used to apply value actions. More...
#include <helpers.hpp>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| void | operator() (const callable_type< action_type::observe, value_type > &action) const |
| The call operator overload for the observe action type. | |
| void | operator() (const callable_type< action_type::transform, value_type > &action) const |
| The call operator overload for the transform action type. | |
| void | operator() (const callable_type< action_type::modify, value_type > &action) const |
| The call operator overload for the modify action type. | |
Public Attributes | |
| value_type & | value |
| A reference to the argument's value for which the action will be applied. | |
A visitor structure used to apply value actions.
| T | The argument's value type |
Definition at line 37 of file helpers.hpp.
| using ap::action::util::apply_visitor< T >::value_type = T |
Definition at line 38 of file helpers.hpp.
|
inline |
The call operator overload for the modify action type.
| action | The modify action callable. |
Definition at line 60 of file helpers.hpp.
|
inline |
The call operator overload for the observe action type.
| action | The observe action callable. |
Definition at line 44 of file helpers.hpp.
|
inline |
The call operator overload for the transform action type.
| action | The transform action callable. |
Definition at line 52 of file helpers.hpp.
| value_type& ap::action::util::apply_visitor< T >::value |
A reference to the argument's value for which the action will be applied.
Definition at line 64 of file helpers.hpp.