| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Batch Parameter Pre-registration source code.tar.gz | 2017-09-10 | 57.0 kB | |
| Batch Parameter Pre-registration source code.zip | 2017-09-10 | 59.3 kB | |
| README.md | 2017-09-10 | 422 Bytes | |
| Totals: 3 Items | 116.7 kB | 0 | |
The main changes:
- Adds
add_params({...})method for batch pre-registration of options as parameters. - Since pre-registration has to be done before parsing, we might as well just use the ctor, so adds new ctor for batch pre-registration.
-
Adds
begin()andend()for directly using range-for over positional args::::cpp for (auto& pos_arg : cmdl) cout << '\t' << pos_arg << '\n';