Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Suggested-changes-to-the-singleton-hpp-file-to-make-QuantLib-work-better-with-Net-tp8504p8506.html
On Wed, 2010-03-24 at 11:42 -0700, Nathan Abbott wrote:
> There has been a problem with using QuantLib with .Net Framework.
> [...] The better solution is to place the singleton class under the
> preprocessor "pragma managed" and get rid of lines 69-70.
Thanks, Nathan. Does the pragma have any effects when compiling in the
usual, no-.Net way? Also, is there any preprocessor define that can
tell us we're compiling for .Net?
Thanks,
Luigi
--
The rule on staying alive as a forecaster is to give 'em a number or
give 'em a date, but never give 'em both at once.
-- Jane Bryant Quinn
------------------------------------------------------------------------------
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