Login  Register

Re: building under x64

Posted by Luigi Ballabio on Mar 05, 2009; 10:34am
URL: http://quantlib.414.s1.nabble.com/building-under-x64-tp12665p12675.html

On Wed, 2009-03-04 at 11:41 +1100, Mark joshi wrote:
> As far as I can tell the type of Size is
>
> const unsigned __int64
>
> I am never very keen on using code with __ in it. What do you think?

I think it stinks...  sigh.  Had I faced this problem earlier on, I'd
have gotten rid of Null altogether and used boost::optional instead.
Now it's probably too messy to tackle before 1.0.

Anyway: the specialization would be into a VC9-specific section of code,
so I think it's not a bit deal if we use the specific __int64 type.

Luigi


--

Dealing with failure is easy: work hard to improve. Success is also
easy to handle: you've solved the wrong problem. Work hard to improve.
-- Alan Perlis



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev