Re: [Boost-users] program options config file format?
Matthias Kaeppler wrote:
Hi, the program_options reference talks about being able to parse config files, but doesn't mention a thing about its layout. No examples are shown how a file has to look like to be parsable by program_options.
Example layout: ..\libs\program_options\example\multiple_sources.cfg (used by multiple_sources.cpp in same directory).
Any ideas? Besides the layout, which characters are treated as comments? Anyone? Matthias Kaeppler
The only character I've found that indicates a comment is the '#' (pound/hash/sharp). One other thing I've noticed is that the option names are case-sensitive, at least by default. HTH. Brian Lawry Mfg Software Engineer Compressor Controls Corp blawry@cccglobal.com
Thanks Brian, that's what I was looking for. -- Matthias Kaeppler
participants (2)
-
Lawry, Brian
-
Matthias Kaeppler