v1.1
Added convenience parsers that allow easy conversion and validation of options arguments and positional
- Integral parser function:
parseIntegral<T>
- Floating point parsing function:
parseFloatingPoint<T>
- Choice parser:
ChoiceParser
/WChoiceParser
. Allows restricting input to a number of choices and returns index of the choice. - Boolean parser:
BooleanParser
/WBooleanParser
. Based on choice parser and converts things like "1"/"0", "on"/"off", "true"/"false" to booleantrue
orfalse
If you are not using single-header/module distributions these live in <argum/type-parsers.h>