[program_options] maps as arguments

15 Oct
2008
15 Oct
'08
8:04 a.m.
Does program_options somehow support something like --base x=hello --base y=world where the parsed "--base"s will be put in a std::map<std::string, std::string> (or std::map<X,Y> in the general case?) (At the moment I parse --base into a vector<string> and process the read strings after program_options has done its job.) Thank you, Christoph

15 Oct
15 Oct
4:27 p.m.
Christoph Duelli wrote:
Does program_options somehow support something like --base x=hello --base y=world where the parsed "--base"s will be put in a std::map<std::string, std::string> (or std::map<X,Y> in the general case?)
(At the moment I parse --base into a vector<string> and process the read strings after program_options has done its job.)
There's no such support presently - Volodya
6080
Age (days ago)
6080
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christoph Duelli
-
Vladimir Prus