I suppose CommandLineParser::has("something") should be true when the command line has --something in it?
The following code shows some contradictory behavior.
cout << "yo " << parser.get<int>("cam_id") << endl;
cout << "ya " << parser.has("cam_id") << endl;
When run with the input --cam_id=22 gives the following output:
yo 22
ya 0
I was expecting it to be ya 1as well. How would I detect if the input has has a certain parameter.