25 Mar
2007
25 Mar
'07
10:05 a.m.
Hello. I want to parse option that has more values. For instance: options_description desc("Allowed options"); desc.add_options() ("include-path,I", value< vector<string> >(), "include path"); Now I want to parse configuration file which looks like: include-path = first/path include-path = second etc.. Can I have something like this instead: include-path = first/path,second,third,.. Is this possible with program_option or I have to use ugly-way configuration? Thanks for help Regards Aljaz