Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77146 - trunk/boost/type_traits
From: john_at_[hidden]
Date: 2012-03-01 06:27:19


Author: johnmaddock
Date: 2012-03-01 06:27:18 EST (Thu, 01 Mar 2012)
New Revision: 77146
URL: http://svn.boost.org/trac/boost/changeset/77146

Log:
Apply Clang patch from Michel Morin.
Text files modified:
   trunk/boost/type_traits/intrinsics.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/type_traits/intrinsics.hpp
==============================================================================
--- trunk/boost/type_traits/intrinsics.hpp (original)
+++ trunk/boost/type_traits/intrinsics.hpp 2012-03-01 06:27:18 EST (Thu, 01 Mar 2012)
@@ -131,10 +131,10 @@
 # if __has_feature(is_union)
 # define BOOST_IS_UNION(T) __is_union(T)
 # endif
-# if __has_feature(is_pod) && defined(_LIBCPP_VERSION)
+# if (__has_feature(is_pod) && defined(_LIBCPP_VERSION)) || __has_feature(__is_pod__)
 # define BOOST_IS_POD(T) __is_pod(T)
 # endif
-# if __has_feature(is_empty) && defined(_LIBCPP_VERSION)
+# if (__has_feature(is_empty) && defined(_LIBCPP_VERSION)) || __has_feature(__is_empty__)
 # define BOOST_IS_EMPTY(T) __is_empty(T)
 # endif
 # if __has_feature(has_trivial_constructor)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk