|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-05-29 04:59:51
> And one important point: there are only three unnamed parameters. There's
a
> bunch of other things that can be configured, and they all use *named*
> interface:
>
> desc.add_options()
> ("output", "file", "output file name").default_value("/tmp/abc")
> ;
The question arize: Why do you prefer option description to defalt value,
optional and other modifiers (I still could not reveal the mystery of second
parameter, so couldn't comment here). I prefer treat them all same way.
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk