[program_options] Parsing Config File

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
5533
Age (days ago)
5533
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Meesters