RE: (Off topic) VC++ 6.0 with fatal error C1001:

Posted by cuchulainn on
URL: http://quantlib.414.s1.nabble.com/Off-topic-VC-6-0-with-fatal-error-C1001-tp3200p3204.html

Luigi,
The learning curve with templates is steep, especially if you have to create them yourself.

At the risk of a sales pitch, the C++ templates in my book are for public domain use (if you keep the name of Datasim in there).

Daniel J. Duffy

http://www.datasim-component.com/financial.asp?section=books
http://www.datasim-component.com/

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Luigi
> Ballabio
> Sent: 19 August 2004 17:08
> To: Zhou Wu
> Cc: [hidden email]
> Subject: Re: [Quantlib-users] (Off topic) VC++ 6.0 with fatal error
> C1001:
>
>
> On 2004.08.19 13:37, Daniel J. Duffy wrote:
> > Are there templates in this code? I know for a fact that VC++ 6.0  
> > does not support all features.
>
> Ok, it seems to be fixed now. It was indeed a template function,  
> although not a particularly clever one :)  Luckily, it did next to  
> nothing (it formatted sequences of numbers for output) so I just  
> #ifndefined it away under VC++. Were anyone interested in
> tweaking it  
> so as to make it work, it is SequenceFormatter::toString(...)
> and can  
> be found inside ql/basicdataformatters.hpp.
>
> Later,
> Luigi
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>