14 for (
int i = 0; i <
argc && idx == -1; i++)
16 if (std::string(
argv[i]) == param)
28 for (
int i = 0; i <
argc && idx == -1; i++)
30 if (std::string(
argv[i]) == param)
std::string operator()(std::string param, std::string def_value="-1")
CommandLineParser(int _argc, char **_argv)
bool operator[](std::string param)