#include <string>
#include <vector>
#include <msp/strings/lexicalcast.h>
-#include "attributes.h"
#include "noncopyable.h"
namespace Msp {
GetOpt();
~GetOpt();
- /** Returns any non-option arguments encountered during processing.
- Deprecated; use add_argument instead. */
- DEPRECATED const std::vector<std::string> &get_args() const { return args_raw; }
-
/** Adds an option with both short and long forms. Processing depends on
the type of the destination variable and whether an argument is taken or
not. With an argument, the value is lexical_cast to the appropriate type