Login  Register

Re: Fixed periods in a swap

Posted by Henner Heck on Feb 01, 2011; 4:01pm
URL: http://quantlib.414.s1.nabble.com/Fixed-periods-in-a-swap-tp8845p8852.html


There is no such value, though Java offers a "varargs" construct
marked by "ParamType... ParamName" in the parameter list, which
can represent any number of arguments of the given type.

http://download.oracle.com/javase/tutorial/java/javaOO/arguments.html

Maybe it can be used in combination with SWIG varargs?

http://www.swig.org/Doc2.0/Varargs.html#Varargs_nn4


Best regards,
Henner Heck






Am 01.02.2011, 16:06 Uhr, schrieb Luigi Ballabio <[hidden email]>:

> On Tue, 2011-02-01 at 15:55 +0100, Henner Heck wrote:
>> Yes, the boost::optional seems tricky.
>
> Also, it depends on the language. For Python, one can write a typemap
> so that the wrapped function accepts either a value or None, and maps
> the latter to boost::none. For Java, is there any such null value?
>
> Luigi
>
>


--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev