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.
I'd like to have something like this in the config file
file-count = 3
file-name1 = 001.aaa
file-name2 = 002.aaa
file-name3 = 003.aaa
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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk