|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-03-26 10:25:41
Hartmut Kaiser wrote:
> > But, BTW, did you notice that for just storing into a
> > variable, you can use
> >
> > ("angle", po::value<double>()->notifier(&angle)),
> >
> > ? I.e. for simple case there's no need to use lambda.
>
> Yet another good trick for the How to? Section or a related sample.
Actually:
1. I mistyped the code, so see Neal's correction.
2. It's described in tutorial, under "Option details" section.
> Regards Hartmut
>
> BTW: attached just another patch I forgot to attach to my last message.
I still don't get anything, could you send it to me personally?
- Volodya
P.S. I haven't missed your another email -- I just need to think a little
about versioning in general.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk