Boost logo

Boost Users :

Subject: Re: [Boost-users] [program options] allow unregistered options for config file
From: Deane Yang (deane.yang_at_[hidden])
Date: 2009-03-18 11:46:12

Vladimir Prus wrote:
> Deane Yang wrote:
>> Instructions for how to allow unregistered options on the command-line
>> are given here:
>> Is there any way to allow unregistered options for a configuration file,
>> too?
> Looking at:
> it seems like yes, it should be possible.
> - Volodya

Thanks. But it would be nice if this feature were documented here:

And note that the text on this page specifically says that you cannot
use "parse_command_line" to allow unregistered options. Was it
unreasonable of me to believe that "parse_config_file" would work
similarly to "parse_command_line" and also not allow unregistered
options? Shouldn't the syntax for these two be more consistent?

Also, I would note that I *did* look at:

which gives no indication that "parse_config_file" has a parameter
called "allow_unregistered". So it is not surprising that I did not
click through to the actual header for "parse_config_file".


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at