GETOPT_INLINE GetOpt_pp::GetOpt_pp(int argc, char* argv[], _EnvTag) : _first_token(NULL), _last_token(NULL) { _init_flags(); _parse(argc, argv); _parse_env(); }
GETOPT_INLINE GetOpt_pp::GetOpt_pp(int argc, const char* const* const argv) : _exc(std::ios_base::goodbit), _first_token(NULL), _last_token(NULL), _tokens_deleter(_first_token) { _init_flags(); std::vector<std::string> args; _argc_argv_to_vector(argc, argv, args); _parse(args); }
GETOPT_INLINE GetOpt_pp::GetOpt_pp(int argc, const char* const* const argv, _EnvTag) : _first_token(NULL), _last_token(NULL), _tokens_deleter(_first_token) { _init_flags(); std::vector<std::string> args; _argc_argv_to_vector(argc, argv, args); _parse(args); _parse_env(); }
GETOPT_INLINE GetOpt_pp::GetOpt_pp(int argc, char* argv[], _EnvTag) { _init_flags(); _parse(argc, argv); _parse_env(); }
GETOPT_INLINE GetOpt_pp::GetOpt_pp(int argc, char* argv[]) : _exc(std::ios_base::goodbit) { _init_flags(); _parse(argc, argv); }
GETOPT_INLINE GetOpt_pp::GetOpt_pp(int argc, char* argv[]) : _exc(std::ios_base::goodbit), _first_token(NULL), _last_token(NULL) { _init_flags(); _parse(argc, argv); }