Re: piecewiseyoyinflationcurve: compilation error using MS VC9 (2008)

Posted by Andreas Spengler-2 on
URL: http://quantlib.414.s1.nabble.com/piecewiseyoyinflationcurve-compilation-error-using-MS-VC9-2008-tp12640p12641.html

Hi,

> Hmm. At least it worked for VC++9... may you try shuffling things around
> and see if you get it to compile in some way?

The SUN compiler does not understand friend declarations using templated
classes.

A work-around that compiles, strangely enough, is to remove the "class" in

friend class Bootstrap<this_curve>;


I don't know whether you want to put this in the repository, though ;-)


Rgds,

Andreas
--
http://aspengler.blogspot.com




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev