|
From: Luigi B. <lui...@gm...> - 2009-02-20 16:13:00
|
On Fri, 2009-02-20 at 16:44 +0100, Ferdinando Ametrano wrote: > Compiling... > yoycapfloortermpricesurface.cpp > .\ql/termstructures/inflation/piecewiseyoyinflationcurve.hpp(127) : > error C2059: syntax error : '<' > .\ql/termstructures/inflation/piecewiseyoyinflationcurve.hpp(130) > : see reference to class template instantiation > 'QuantLib::PiecewiseYoYInflationCurve<Interpolator,Bootstrap,Traits>' > being compiled > .\ql/termstructures/inflation/piecewiseyoyinflationcurve.hpp(127) : > error C2238: unexpected token(s) preceding ';' > > no problem using VC8 Go figure... We can only try to move stuff around and see if it's more digestible. Try replacing the offending line friend class Bootstrap<this_curve>; with typedef typename Bootstrap<this_curve> bootstrapper; friend class bootstrapper; Luigi -- The First Rule of Optimization: Don't do it. The Second Rule of Optimization (For experts only): Don't do it yet. -- Michael Jackson |