Login  Register

Re: I need some tips about Coercion

Posted by Eric Ehlers-2 on Sep 16, 2009; 5:36am
URL: http://quantlib.414.s1.nabble.com/I-need-some-tips-about-Coercion-tp12907p12911.html

Quoting Ferdinando Ametrano <[hidden email]>:

> On Tue, Sep 15, 2009 at 1:42 PM, Piter Dias <[hidden email]> wrote:
>> May you help me?
>
> Basically you won't be able to coerce between Rate and InterestRate,

I wasn't suggesting he do that.  I was thinking of using coercion as a  
kind of hack to simulate function overloading - one excel function,  
one function name, two signatures i.e. two different datatypes allowed  
for a given parameter.

Regards,
Eric


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev