Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77752 - trunk/boost/config/compiler
From: mimomorin_at_[hidden]
Date: 2012-04-04 10:20:15


Author: michel
Date: 2012-04-04 10:20:14 EDT (Wed, 04 Apr 2012)
New Revision: 77752
URL: http://svn.boost.org/trac/boost/changeset/77752

Log:
Clang now has a querying macro for BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS. Use this querying macro and remove version checks.
Text files modified:
   trunk/boost/config/compiler/clang.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp (original)
+++ trunk/boost/config/compiler/clang.hpp 2012-04-04 10:20:14 EDT (Wed, 04 Apr 2012)
@@ -71,8 +71,7 @@
 # define BOOST_NO_LAMBDAS
 #endif
 
-#if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L) \
- || __clang_major__ < 2 || (__clang_major__ == 2 && __clang_minor__ < 8)
+#if !__has_feature(cxx_local_type_template_args)
 # define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS
 #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