Clang 3.0+ supports gcc-style type trait intrinsics.

[SVN r72280]
This commit is contained in:
Bryce Adelstein-Lelbach
2011-05-30 12:42:20 +00:00
parent 0e4093146b
commit 0bd2b25d5b

View File

@@ -124,7 +124,7 @@
# define BOOST_HAS_TYPE_TRAITS_INTRINSICS
#endif
#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3) && !defined(__GCCXML__)))
#if (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3) && !defined(__GCCXML__)))) || (__clang_major__ >= 3)
# include <boost/type_traits/is_same.hpp>
# include <boost/type_traits/is_reference.hpp>
# include <boost/type_traits/is_volatile.hpp>