Releases: jemarq04/cpp-argparse
Releases · jemarq04/cpp-argparse
v2.2.7
v2.2.6
add is_false() helper function and logical operator overloads to Argu…
v2.2.5
add is_true() method for ArgumentValue objects
v2.2.4
Fixed parser-level defaults. Changed return-type of get_defaults() to…
v2.2.3
Improved function organization and added most common operator overloa…
v2.2.2
Added new typedef for the return type of ArgumentParser::parse_args() and an additional assignment operator for ArgumentValueList.
v2.2.1
v2.2.0
This version adds in the argparse::ArgumentValue and argparse::ArgumentValueList helper classes. These will make it possible to retrieve typed argument values such as int num = args["num"]; instead of something like int num = strtol(args["num"][0].c_str(), nullptr, 10);. (Both of these examples assume that args is the return value of argparse::ArgumentParser::parse_args().)
The new return type of argparse::ArgumentParser::parse_args() reflects this change and now returns std::map<std::string, ArgumentValueList>.