Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-01 10:17:08


Hi Neal,

> Any suggestion on how to implement the common gnu idiom:
>
> --switch and --no-switch?
>
> bool_switch seems perfect for implementing --switch, but what about
> --no-switch (which should set switch_value to false)?

What do you think about the approach in examples/custom_syntax.cpp?

- Volodya


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