Merged accumulated bug fixes from Trunk.

Refs #6795.
Refs #6394.

[SVN r79562]
This commit is contained in:
John Maddock committed 2012-07-16 10:03:17 +00:00
1 parent 7f7a6d2324
commit 8608d0a498
146 files changed
+553 -575

No files matched your search

+12
View File
@@ -12,6 +12,15 @@
# include <boost/type_traits/is_enum.hpp>
#endif
#ifndef BOOST_NO_SCOPED_ENUMS
enum class test_enum
{
a, b
};
#endif
TT_TEST_BEGIN(is_enum)
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_enum<int>::value, false);
@@ -24,6 +33,9 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_enum<int&&>::value, false);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_enum<boost::noncopyable>::value, false);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_enum<void>::value, false);
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_enum<test_abc1>::value, false);
#ifndef BOOST_NO_SCOPED_ENUMS
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_enum<test_enum>::value, true);
#endif
TT_TEST_END