Merge pull request #357 from andlaus/test_std_is_integral

C++-11 Features: add test for std::is_integral
This commit is contained in:
Bård Skaflestad 2013-09-05 02:01:05 -07:00
commit 1d61208d88

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