Re: I need some tips about Coercion
Posted by
Ferdinando Ametrano-4 on
Sep 15, 2009; 7:52am
URL: http://quantlib.414.s1.nabble.com/I-need-some-tips-about-Coercion-tp12907p12908.html
On Tue, Sep 15, 2009 at 12:36 AM, Piter Dias <
[hidden email]> wrote:
> 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).
what would you coerce it to?
it escapes me how you could make it backward compatible; I might
suggest to just add another signature if needed.
ciao -- Nando
------------------------------------------------------------------------------
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