Re: C++ help needed: singleton.hpp
Posted by
Luigi Ballabio on
Nov 20, 2007; 3:11pm
URL: http://quantlib.414.s1.nabble.com/Re-C-help-needed-singleton-hpp-tp9846p9847.html
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
--
There is no such thing as public opinion. There is only published
opinion.
-- Winston Churchill
-------------------------------------------------------------------------
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