
On 7/18/05, Andy Little <andy@servocomm.freeserve.co.uk> wrote:
"Peder Holt" <peder.holt@gmail.com> wrote
What does the following from your original post mean in more detail?:
"BOOST_DOUBLE is a non-compliant macro that relies on compile time behaviour of floating operations."
Does rthis mean that it only works on a few non-compliant compilers?
It works on all VC versions, on all GCC versions up to 4.0, on Comeau in relaxed mode, and on the borland compiler. (Probably more as well, but those are the ones I have tested)
The crucial question though is whether it is conforming C++ ?., or is it using non-standarad techniques, such as compile time addition of float and int as I believe happens in VC7.1.
the BOOST_DOUBLE macro. relies on non-conforming C++. The implementation of double_ on the other hand is conforming C++. This is why I also supplied the string_c_to_double template, which is a conforming way to create a compile time double. Peder
Andy Little
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost