Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-05 09:20:51

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?


I've just moved those function to boost::program_options::validators
namespace. The new version is available from

and also from

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at