
26 Mar
2004
26 Mar
'04
3:25 p.m.
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.