
2 Apr
2008
2 Apr
'08
6:02 p.m.
Hello *! I would like to know if there is any interest to support hierarchical configuraitons in boost program options library. The idea is mainly: [Level1] Option1 Option2 Option3 [[Level2]] Option1 Option2 Option3 Access rules would be: Level1.Option1 or Level1.Level2.Option1 Sometimes it is very useful to introduce an additional level instead of putting a prefix to each option. On the other hand it might be beneficial during access. PSEUDOCODE: option_group g = parsed_options["Level1.Level2"].as<option_group>(); do_smth(g["Option1"]); With Kind Regards, Ovanes Markarian