Re: [boost] program options - how to extend
by Vladimir Prus other posts by this author
May 5 2003 2:20PM messages near this date
[boost] program options - how to extend
|
[boost] program options - default values question
Neal D. Becker wrote:
> I'm trying to learn to use program options, posted here by Vladimir Prus.
>
> I was trying to use the variables map, and I wanted a "double" variable.
> It seems validator is specialized for float, but not double.
[...]
> But check_first_occurence and get_single_string are in an anonymous
> namespace, and are not accessible.
>
> Is there a workaround? Should these functions be moved to a different
> namespace to make extension more convenient?
Neal,
I've just moved those function to boost::program_options::validators
namespace. The new version is available from
http://zigzag.cs.msu.su:7813/program_options
and also from
http://groups.yahoo.com/group/boost/files/
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Neal D. Becker
Vladimir Prus
Neal D. Becker
Vladimir Prus
|