Login  Register

I need some tips about Coercion

Posted by Piter Dias-4 on Sep 14, 2009; 10:36pm
URL: http://quantlib.414.s1.nabble.com/I-need-some-tips-about-Coercion-tp12907.html

Eric,

I implemented InterestRate as coupon parameter (in an new qlnew2FixedRateBond class, just for while) and want to make use of Coercion in order to make it backward compatible (so I can use the qlFixedRateBond).

The idea of Coercion is clear but I didn't fully understand the implementation. Must I (let take Quote as example):

Create the proper conversions in QuantLibAddin\qlo\conversions

Do you mind giving some directions so I could do it?

Regards,

 

--




Piter Dias
[hidden email]


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev