Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74183 - trunk/boost/type_traits
From: john_at_[hidden]
Date: 2011-09-01 13:43:33


Author: johnmaddock
Date: 2011-09-01 13:43:32 EDT (Thu, 01 Sep 2011)
New Revision: 74183
URL: http://svn.boost.org/trac/boost/changeset/74183

Log:
Apply final part of Michel Morin's Clang patch.
Text files modified:
   trunk/boost/type_traits/intrinsics.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/type_traits/intrinsics.hpp
==============================================================================
--- trunk/boost/type_traits/intrinsics.hpp (original)
+++ trunk/boost/type_traits/intrinsics.hpp 2011-09-01 13:43:32 EDT (Thu, 01 Sep 2011)
@@ -131,12 +131,12 @@
 # if __has_feature(is_union)
 # define BOOST_IS_UNION(T) __is_union(T)
 # endif
-// # if __has_feature(is_pod)
-// # define BOOST_IS_POD(T) __is_pod(T)
-// # endif
-// # if __has_feature(is_empty)
-// # define BOOST_IS_EMPTY(T) __is_empty(T)
-// # endif
+# if __has_feature(is_pod) && defined(_LIBCPP_VERSION)
+# define BOOST_IS_POD(T) __is_pod(T)
+# endif
+# if __has_feature(is_empty) && defined(_LIBCPP_VERSION)
+# define BOOST_IS_EMPTY(T) __is_empty(T)
+# endif
 # if __has_feature(has_trivial_constructor)
 # define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)
 # endif


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