forked from boostorg/type_traits
Stopped testing std::ios_base (it's not always polymorphic, even though it should be).
[SVN r16114]
This commit is contained in:
1 parent
46652e39e6
commit
bd7e6c0c18
1 file changed
+4
-1
@@ -42,11 +42,13 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<test_abc1>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<test_abc2>::value, true);
|
||||
#ifndef BOOST_NO_STD_LOCALE
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::iostream>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::ios_base>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::basic_streambuf<char> >::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::basic_ios<char> >::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::basic_istream<char> >::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::basic_streambuf<char> >::value, true);
|
||||
// some libraries don't make this one a polymorphic class, since this is a library
|
||||
// rather than a type traits issue we won't test this for now...
|
||||
//BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::ios_base>::value, true);
|
||||
#endif
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::exception>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::bad_alloc>::value, true);
|
||||
@@ -71,3 +73,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user