Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77934 - trunk/boost/config/compiler
From: mimomorin_at_[hidden]
Date: 2012-04-12 09:10:49


Author: michel
Date: 2012-04-12 09:10:47 EDT (Thu, 12 Apr 2012)
New Revision: 77934
URL: http://svn.boost.org/trac/boost/changeset/77934

Log:
Use a newly added querying macro for BOOST_NO_DECLTYPE_N3276 on clang.
Text files modified:
   trunk/boost/config/compiler/clang.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp (original)
+++ trunk/boost/config/compiler/clang.hpp 2012-04-12 09:10:47 EDT (Thu, 12 Apr 2012)
@@ -43,7 +43,7 @@
 # define BOOST_NO_DECLTYPE
 #endif
 
-#if !__has_feature(__cxx_decltype__)
+#if !__has_feature(cxx_decltype_incomplete_return_types)
 # define BOOST_NO_DECLTYPE_N3276
 #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