|
Boost : |
From: Jens Maurer (jmaurer_at_[hidden])
Date: 2000-02-21 19:48:16
Beman Dawes wrote:
> A couple of nits in integer_traits_test.cpp:
>
> * Add "return 0;"
At the end of main(), this is redundant.
See std:3.6.1/5 [basic.start.main].
And we don't want to have redundant stuff, do we? :-)
> * Probably be a good idea to add something to the effect:
>
> #ifdef NDEBUG
> #error This test makes no sense with NDEBUG defined
> #endif
[Done.]
> * Changed the first couple of lines of runtest to:
[Done.]
I've uploaded the new integer_traits_test.cpp.
> integer_traits_test.cpp compiled and ran correctly with Metrowerks
> Codewarrior 5.3.
Nice.
[Microsoft got it wrong.]
Is that because runtest<> ist a template function, or because
std::numeric_traits<> is busted on MSVC?
Anyway, there's not much we can do about it.
I'll visit them at CeBit and tell them they're dumb, but last
year, they didn't even have someone competent enough there to
understand that.
Jens Maurer.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk