Re: Null class bug on x64 targets
Posted by
Kakhkhor Abdijalilov on
URL: http://quantlib.414.s1.nabble.com/Null-class-bug-on-x64-targets-tp9091p9095.html
>Sorry, cant agree with this point. For a 32-bit msvc compiler size_t is just unsigned int.
That was my point as well. On 32bit targets Null<Size> and
Null<unsigned int> are the same thing. You need a macro to fix it.
There is also Null<unsigned long long> which conflicts with Null<Size>
on x64.
>Again u just need to set the correct macro, then the error should disappear.
And that is the problem. It means more work for the users. The
implementation from my previous e-mail could free the users from
dealing with macros. It will not overwrite any other specialization.
K.A.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev