|
template<typename... Args> |
auto | operator() (const Args &...requiredOptions) const -> auto |
|
|
const po::variables_map & | vm |
| The variables-map, parsed from command line. More...
|
|
Handles Dependencies of program-options
Definition at line 73 of file main.cpp.
◆ operator()()
template<typename... Args>
auto Requirements::operator() |
( |
const Args &... |
requiredOptions | ) |
const -> auto |
|
inline |
Checks required program options
- Template Parameters
-
Args | required options (const char *) of variable-size |
- Parameters
-
requiredOptions | the required options |
- Returns
- this to add more requirements
- Exceptions
-
logic_error | if option requirements are not met |
Definition at line 84 of file main.cpp.
◆ vm
const po::variables_map& Requirements::vm |
The variables-map, parsed from command line.
Definition at line 74 of file main.cpp.
The documentation for this struct was generated from the following file: