#27 Section selectivity in unidentified_variables()

v1.0_(example)
open
nobody
None
1
2014-01-23
2014-01-23
Julian Berengut
No

...
GetPot opt(inputFileName.c_str(), "//", "\n", ",");
double N = opt("Vehicle/N", 0);

opt.set_prefix("Vehicle/");
N = opt("N", 1);

std::vector<std::string> ufo = opt.unidentified_variables();
...
then ufo contains the "Vehicle/N" variable despite it having been accessed.

Discussion


Anonymous


Cancel   Add attachments