ROSE  0.11.96.11
Sawyer::CommandLine::Boost::value< T > Struct Template Reference

Description

template<class T>
struct Sawyer::CommandLine::Boost::value< T >

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 <CommandLineBoost.h>


The documentation for this struct was generated from the following file: