Undone name change

[SVN r15995]
This commit is contained in:
John Maddock committed 2002-10-27 11:49:52 +00:00
1 parent a4f0ca7ff0
commit 214c319cbc
10 files changed
+32 -9

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
#include "check_integral_constant.hpp"
#include TYPE_TRAITS(is_pod)
TT_TEST_BEGIN(is_pod)
TT_TEST_BEGIN(is_POD)
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_POD<bool>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_POD<bool const>::value, true);
+23
View File
@@ -8,6 +8,13 @@
#include "check_integral_constant.hpp"
#include TYPE_TRAITS(is_polymorphic)
#include <exception>
#include <stdexcept>
#if defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)
#include <windows.h> // more things to test
#endif
TT_TEST_BEGIN(is_polymorphic)
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<int>::value, false);
@@ -35,11 +42,27 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<VB>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<VD>::value, true);
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);
#endif
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::exception>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::bad_alloc>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::runtime_error>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::out_of_range>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<std::range_error>::value, true);
#if defined(_WINDOWS) || defined(_WIN32) || defined(_WIN64)
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<IUnknown>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<ITypeInfo>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<ITypeComp>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<ICreateTypeInfo>::value, true);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_polymorphic<IDispatch>::value, true);
#endif
TT_TEST_END
+1 -1
View File
@@ -17,7 +17,7 @@
#include TYPE_TRAITS(has_trivial_destructor)
#include TYPE_TRAITS(is_base_and_derived)
#include TYPE_TRAITS(is_object)
#include TYPE_TRAITS(is_pod)
#include TYPE_TRAITS(is_POD)
#include TYPE_TRAITS(is_scalar)
#include TYPE_COMPARE(is_same)
#include TYPE_COMPARE(is_convertible)
+1 -1
View File
@@ -8,7 +8,7 @@
#include "check_integral_constant.hpp"
#include TYPE_TRAITS(alignment_of)
#include TYPE_TRAITS(type_with_alignment)
#include TYPE_TRAITS(is_pod)
#include TYPE_TRAITS(is_POD)
TT_TEST_BEGIN(type_with_alignment)