Boost logo

Boost :

From: Glen Knowles (gknowles_at_[hidden])
Date: 2001-11-16 14:03:36


>
> Bill Kempf
>
> I U/L a command line parsing concept to the Files section some time
> ago. It's a raw parser with few bells and whistles, which seems to
> not be what people want.
>

This is in fact close to what I want. Only instead of using ids I
found it more convienent to pass references to result variables.

string str_opt;
bool bool_opt;
args.add_option('s', "stringoption", str_opt, cmdline::optional);
args.add_option('b', "booloption", bool_opt, cmdline::required);



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk