C++-11 Features: add test for std::is_integral

This commit is contained in:
Andreas Lauser
2013-09-03 17:49:18 +02:00
parent db1299cf0c
commit c28f2bc0a0

View File

@@ -77,6 +77,7 @@ int main()
{ {
bool foo = std::is_convertible<int, double>::value; bool foo = std::is_convertible<int, double>::value;
bool bar = std::is_base_of<Base, Derived>::value; bool bar = std::is_base_of<Base, Derived>::value;
bool foobar = std::is_integral<double>::value;
return 0; return 0;
} }
" HAVE_TYPE_TRAITS " HAVE_TYPE_TRAITS