Re: [Quantlib-dev] Suggested changes to the singleton.hpp file to make QuantLib work better with .Net

Posted by Nathan Abbott on
URL: http://quantlib.414.s1.nabble.com/Suggested-changes-to-the-singleton-hpp-file-to-make-QuantLib-work-better-with-Net-tp8504p8507.html

Does the pragma have any effects when compiling in the
usual, no-.Net way?
 
No

Also, is there any preprocessor define that can
tell us we're compiling for .Net?

Using pragma managed (push,off) with pragma managed (pop) is the prefer way of dealing with this issue.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users