How to parse_config_file with blank key value?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How to parse_config_file with blank key value?

Matt England

Is it possible for the program_options parse-config-file capability to
support a config file that has a "blank" keyword value as per this config
file example:

---- cut here ----
---- cut here ----

This file would be parsed as if there's no value set for these

More background:

I manage a development group that uses Boost, and our developers aren't
sure how to do this, and I'm posting on their behalf.

The answer is not obvious to me at:

Are there other, pertinent docs?

We want to do this to assist the users of our software to know which values
*can* be set...without setting them in a default config file.


Boost-users mailing list
[hidden email]