Re: eval date-problem solved

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/eval-date-problem-solved-tp1121p1130.html

On Tue, 2007-07-10 at 10:07 +0100, Toyin Akin wrote:
> If the latter point is true, then this issue would/should also be present
> within the c++ layer. Might be interesting to write the c++ version of this
> example to compare...

Yes, I though about this. However, in the C++ version the helpers would
be automatically deleted as soon as the corresponding curve goes out of
scope at the end of the loop. Therefore, they would no longer be around
to receive notifications when the evaluation date is changed at the
beginning of the next loop. If one wanted to see the effect, one would
have to store them somewhere so that they're kept alive.

Luigi


--

The rule on staying alive as a forecaster is to give 'em a number or
give 'em a date, but never give 'em both at once.
-- Jane Bryant Quinn



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users