Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-01-02 14:42:38


Raul Pedro Santos wrote:

> Hi everyone.
>
> I'm new to Boost and program_options in particular but
> so far it has been a joy working with the various
> boost libraries. Thanks to all the developers for
> their hard work!
>
> I'm using program_options to parse a configuration
> file but I need to have some options that are not
> described with program_options.
>
> Specifically, I need to use the same file for both my
> program configuration and also for configuring
> log4cxx. Each line of log4cxx configuration is of the
> form "log4j.option=value" and I can't limit the
> options that can be added to the program, so I can't
> describe them and ignore them afterwards.
>
> I know this is possible on the command line, by
> calling allow_unregistered() but I need the same thing
> for a config file, which I can't find out how to do
> anywhere.
>
> Can someone point me in the right direction, please?

I think SVN HEAD supports unregistered options in config file.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net