Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77256 - trunk/boost/config/compiler
From: john_at_[hidden]
Date: 2012-03-07 04:28:13


Author: johnmaddock
Date: 2012-03-07 04:28:11 EST (Wed, 07 Mar 2012)
New Revision: 77256
URL: http://svn.boost.org/trac/boost/changeset/77256

Log:
Apply Michel Morin's decltype patch.
Text files modified:
   trunk/boost/config/compiler/clang.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp (original)
+++ trunk/boost/config/compiler/clang.hpp 2012-03-07 04:28:11 EST (Wed, 07 Mar 2012)
@@ -44,7 +44,9 @@
 # define BOOST_NO_DECLTYPE
 #endif
 
-#define BOOST_NO_DECLTYPE_N3276
+#if !__has_feature(__cxx_decltype__)
+# define BOOST_NO_DECLTYPE_N3276
+#endif
 
 #if !__has_feature(cxx_defaulted_functions)
 # define BOOST_NO_DEFAULTED_FUNCTIONS


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