src/ds++/XGetopt.hh
XGetopt(int const argc, char const *const *argv, std::string const &shortopts,
          csmap helpstrings_ = csmap())
      : optind(0), optarg(),                                     // empty string
        cmd_line_args(argv + 1, argv + argc), longopts(csmap()), // empty
        vshortopts_hasarg(std::map<char, bool>()), vshortopts(decompose_shortopts(shortopts)),
        helpstrings(std::move(helpstrings_)) {
    match_args_to_options();
  }
// const argv version used by the unit test.
const argv version used by the unit test.
const argv version used by the unit test .
XGetopt(int const argc, char const *const *argv, std::string const &shortopts,
          csmap helpstrings_ = csmap())
      : optind(0), optarg(),                                     
        cmd_line_args(argv + 1, argv + argc), longopts(csmap()), 
        vshortopts_hasarg(std::map<char, bool>()), vshortopts(decompose_shortopts(shortopts)),
        helpstrings(std::move(helpstrings_)) {
    match_args_to_options();
  }
XGetopt ( int const argc , char const * const * argv , std :: string const & shortopts , csmap helpstrings_ = csmap ( ) ) : optind ( 0 ) , optarg ( ) , cmd_line_args ( argv + 1 , argv + argc ) , longopts ( csmap ( ) ) , vshortopts_hasarg ( std :: map < char , bool > ( ) ) , vshortopts ( decompose_shortopts ( shortopts ) ) , helpstrings ( std :: move ( helpstrings_ ) ) { match_args_to_options ( ) ; }
const argv version used by the unit test.
const argv version used by the unit test .
// empty string // empty