Added fixes for gcc, to fix remaining regressions with is_class/is_convertible and is_enum

[SVN r21513]
This commit is contained in:
John Maddock committed 2004-01-06 13:37:10 +00:00
1 parent ad627feb41
commit 32f2d33eed
5 files changed
+61 -5

No files matched your search

+2
View File
@@ -21,6 +21,7 @@
# include <boost/type_traits/has_trivial_destructor.hpp>
# include <boost/type_traits/is_compound.hpp>
# include <boost/type_traits/is_base_and_derived.hpp>
# include <boost/type_traits/is_convertible.hpp>
#endif
TT_TEST_BEGIN(tricky_function_type_test)
@@ -39,6 +40,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_copy<foo0_t>::value, false);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_assign<foo0_t>::value, false);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_destructor<foo0_t>::value, false);
BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_and_derived<foo0_t, foo0_t>::value), false);
BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<foo0_t, int>::value), false);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_class<foo1_t>::value, false);