Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-09-07 13:58:39


"Gennadiy E. Rozental" wrote:
> cvs diff limits_test.cpp
> Index: limits_test.cpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/libs/config/limits_test.cpp,v
> retrieving revision 1.7
> diff -r1.7 limits_test.cpp
> 69,71c69,71
> < const T infinity = lim::infinity();
> < const T qnan = lim::quiet_NaN();
> < const T snan = lim::signaling_NaN();
> ---
> > const T infinity = (T)lim::infinity();
> > const T qnan = (T)lim::quiet_NaN();
> > const T snan = (T)lim::signaling_NaN();

Rejected. limits_test.cpp only exists to test how usable
the provided std::numeric_limits<> is. If, like the Sun
compiler, it produces an internal compiler error, that's
a valid test result, to show off to the world.

And it means that std::numeric_limits<> is probably not
useful on that compiler.

Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk