Boost logo

Boost :

From: Neal D. Becker (ndbecker2_at_[hidden])
Date: 2004-11-01 11:33:12


Vladimir Prus wrote:

> 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
>

I think it's not documented.

I don't see any mention of extra_parser in:
file:/usr/local/src/boost_1_32_0/doc/html/program_options/reference.html

Am I missing something?


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