
25 Feb
2010
25 Feb
'10
12:40 p.m.
Hi, I'd like to use/abuse boost::program_options to parse a configuration file like this: [project1] parameter=x ... [project2] parameter=y ... [project3] parameter=z ... and so on. Point is that I cannot now how many 'project' entries there will be in advance. Is there a way to parse this and retrieve a list of project keys from boost::program_options::variables_map? Or (the 'abuse' above already suggested that I'm not certain whether this library is the most suited one) is there a better approach? Christian