Login  Register

Re: C++ help needed: singleton.hpp

Posted by Klaus Spanderen-2 on Nov 21, 2007; 7:12pm
URL: http://quantlib.414.s1.nabble.com/Re-C-help-needed-singleton-hpp-tp9846p9848.html

Hi Luigi

you solved it, thanks!

Klaus


On Tuesday 20 November 2007 16:11:03 Luigi Ballabio wrote:

> On Sun, 2007-10-14 at 09:41 +0200, Klaus Spanderen wrote:
> > I'm having this problem using Visual Studio Express 2005 [...]
> > when compiled within a separate Visual Studio
> > solution _and_ the option
> >
> > Common Language Runtime-Support (/clr)
> >
> > is switched on. Everything is okay as soon as I'm switching this option
> > off or declaring
> >
> > inline T& Singleton<T>::instance() { ..}
>
> Klaus,
> I've committed a fix. May you try it and see if it works?
>
> Thanks,
> Luigi



--
Klaus Spanderen
Ludwig Erhard Str. 12
48734 Reken (Germany)
EMail: [hidden email] (remove NOSPAM from the address)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev