Boost logo

Boost Users :

Subject: Re: [Boost-users] [program_options] maps as arguments
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-10-15 12:27:13


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net