forked from boostorg/integer
remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
This commit is contained in:
@ -55,14 +55,14 @@ void runtest(const char * type, T)
|
|||||||
{
|
{
|
||||||
typedef boost::integer_traits<T> traits;
|
typedef boost::integer_traits<T> traits;
|
||||||
std::cout << "Checking " << type
|
std::cout << "Checking " << type
|
||||||
<< "; min is " << make_char_numeric_for_streaming(traits::min())
|
<< "; min is " << make_char_numeric_for_streaming((traits::min)())
|
||||||
<< ", max is " << make_char_numeric_for_streaming(traits::max())
|
<< ", max is " << make_char_numeric_for_streaming((traits::max)())
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
BOOST_TEST(traits::is_specialized);
|
BOOST_TEST(traits::is_specialized);
|
||||||
BOOST_TEST(traits::is_integer);
|
BOOST_TEST(traits::is_integer);
|
||||||
BOOST_TEST(traits::is_integral);
|
BOOST_TEST(traits::is_integral);
|
||||||
BOOST_TEST(traits::const_min == traits::min());
|
BOOST_TEST(traits::const_min == (traits::min)());
|
||||||
BOOST_TEST(traits::const_max == traits::max());
|
BOOST_TEST(traits::const_max == (traits::max)());
|
||||||
}
|
}
|
||||||
|
|
||||||
int test_main(int, char*[])
|
int test_main(int, char*[])
|
||||||
|
Reference in New Issue
Block a user