[boost::program_options] got stuck with some options scenario
21 Feb
2007
21 Feb
'07
11:54 a.m.
I have some requirement for input parameters: Some of my input parameters represent a pair of files. Is there any way to parse this kind of a form: -I "file1" "file1_related_file" Trying to use the construct with: po::value< std::pairstd::string,std::string >() produces a compilation error within a lexical cast, that there is no operator >> defined. I know I could pass smth like: -I "fiel1+related_file", but then I would need to split the string, what I would like to do, since I see this as a task of program_options lib. With Kind Regards, Ovanes Markarian
6489
Age (days ago)
6489
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ovanes Markarian