GetPot::absorb() doesn't work with sections.
Tool to parse the command line and configuration files.
Brought to you by:
fschaef
Example of failing code:
GetPot opt;
GetPot opt_file("inputFileName", "//", "\n", ",");
opt.absorb(opt_file);
opt("vehicle/length", 0.0); // GetPot fails to find "vehicle/length" from the input file.
opt.search("vehicle/length"); // returns false
Anonymous
Sorry, didn't mean to be rude. I wrote this bug report.
Also, thanks for this tool, I use it extensively.