Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70924 - trunk/boost/move
From: igaztanaga_at_[hidden]
Date: 2011-04-03 05:50:27


Author: igaztanaga
Date: 2011-04-03 05:50:26 EDT (Sun, 03 Apr 2011)
New Revision: 70924
URL: http://svn.boost.org/trac/boost/changeset/70924

Log:
Move was detecting clang as an old GCC and applying old-style rvalue-references.
Text files modified:
   trunk/boost/move/move.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/move/move.hpp
==============================================================================
--- trunk/boost/move/move.hpp (original)
+++ trunk/boost/move/move.hpp 2011-04-03 05:50:26 EDT (Sun, 03 Apr 2011)
@@ -208,7 +208,9 @@
 
 #if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 5)
 
+#ifndef BOOST_CLANG
 #define BOOST_MOVE_OLD_RVALUE_REF_BINDING_RULES
+#endif
 
 #else
 


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