Subject: [boost] program_options: Support for open-end options
From: ST (smntov_at_[hidden])
Date: 2012-12-26 12:56:04
It would be great to implement support for open-end options, something
item_1 = 23
item_2 = 45
item_N = 465
The idea is to to be able to provide following input:
("item_", value<int>(), "items");
now if add_options() sees a key that ends with a "_" it accepts all
options with keys that start with item_, no matter what comes after it,
and treat all of them as int . Nesting should also be possible - like
this: "item_.subitem_.subsubitem_" (item_3.subitem_FOO.subsubitem_34
should be a valid option key).
I can try to implement it, however only if it will have a chance to be
merged into the boost library. Whom should I contact regarding this?