Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2003-06-06 11:54:31


I have a request regarding config file support in the program option library.
Currently when the parser encounters an unknown option in the config file,
parsing is stopped with an exception.
Together with fixed option definition, this feature disables a possibility
to have an arbitrary options in the config file, whose exact format is
not know prior to parsing.

An example:

I'd like to have something like this in the config file



file-count = 3

file-name1 =
file-name2 =
file-name3 =


where the number of file-name* lines is not know before parsing, and it is up to
user to specify as many as she wants, or the format and number of options is
dependant on some other option ( i.e. file-count )

I think, that it would be nice to be able to force the parser to accept also
the options not described in the option_descriptions and have a way to
work with them.


Boost list run by bdawes at, gregod at, cpdaniel at, john at