|
Boost Users : |
From: Andrew Schweitzer (a.schweitzer.grps_at_[hidden])
Date: 2006-04-05 20:37:08
Stephan Stiglmayr wrote:
> Hello!
>
> I'm looking for a way to "iterate" through a variable_map after the
> command line options were stored, in order to print out all the options,
> or all with newly values.
Me too!!
> I know that you can test if a specific options was read with the
> "count()" method, but this is cumbersome.
Yes!!!
>
> Is there a possiblity to do that?
>
I wrote a wrapper class that adds options to a list as they are added to
program_options, then you can print the list. This is a hack.
> Regards,
> Stephan.
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