6 Apr
2006
6 Apr
'06
12:37 a.m.
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.