)
More complex example:
+
(...)
void argument_function(bool a) {
std::cout << "Argument: " << a << std::endl;
Above code allows us to:
-Parameters wrapped in Required class, have validator which checks if argument
+Parameters wrapped in Required class, have validator which checks if argument is
+passed:
+
$ ./a.out
*Input values* is required
Option: f failed value conversion to the required type
For MultiValue Parameters each value is passed to the given function:
+
$ ./a.out 1-0-1
Argument: 1
Argument: 0