ROSE 0.11.145.147
|
Replacement for basic use of boost::program_options::value.
The equivalent mechanism in Sawyer is split between two class hierarchies: a class that represents parsing of strings into non-string types, and a class that represents storing of non-string values into C++ variables. This separation of concerns allows Sawyer to parse one type but store it in a variable of a different, compatible type. However, most users of Sawyer see these classes as functions like nonNegativeIntegerParser taking one argument: some integer reference in which to ultimately store the result.
Definition at line 37 of file CommandLineBoost.h.
#include <Sawyer/CommandLineBoost.h>