Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-01-23 07:41:22


There is something strange about numeric_limits here, the following code
compiles OK:

# include <limits>
template <class T> struct int_check
{
    BOOST_STATIC_ASSERT(std::numeric_limits<T>::is_specialized == false);
};
typedef int_check<int> check;

There's something strange going on with gcc and Borland C++ as well: they
appear not to care one way or another (I can't get the test to fail with
these compilers).

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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