Re: multitoken program_options in vc++6

To begin with, do you realize the the variables_map class is seriously broken with vc6 -- you can't call the 'as' method of the variable_value class that variables_map::operator[] returns.
Or you know some way around this?
- Volodya
I've been using the boost::any value directly to get around the as<> problem. Is there any way of getting multitoken values working? Thanks, James ___________________________________ NOCC, http://nocc.sourceforge.net

James E Taylor wrote:
To begin with, do you realize the the variables_map class is seriously broken with vc6 -- you can't call the 'as' method of the variable_value class that variables_map::operator[] returns.
Or you know some way around this?
- Volodya
I've been using the boost::any value directly to get around the as<> problem.
Hmm.. I indented to drop support for vc6, actually.
Is there any way of getting multitoken values working?
I'll soon commit a rewritten command line parser, which might fix the issue. What kind of exception are you getting? - Volodya
participants (2)
-
James E Taylor
-
Vladimir Prus