Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81510 - trunk/boost/multiprecision/detail
From: john_at_[hidden]
Date: 2012-11-24 13:28:04


Author: johnmaddock
Date: 2012-11-24 13:28:04 EST (Sat, 24 Nov 2012)
New Revision: 81510
URL: http://svn.boost.org/trac/boost/changeset/81510

Log:
Fix for gcc-4.4.x: rvalue reference support in gcc-4.4 isn't good enough for our use cases.
Text files modified:
   trunk/boost/multiprecision/detail/no_et_ops.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/multiprecision/detail/no_et_ops.hpp
==============================================================================
--- trunk/boost/multiprecision/detail/no_et_ops.hpp (original)
+++ trunk/boost/multiprecision/detail/no_et_ops.hpp 2012-11-24 13:28:04 EST (Sat, 24 Nov 2012)
@@ -285,7 +285,7 @@
    return BOOST_MP_MOVE(result);
 }
 
-#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !(defined(__GNUC__) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 5)))
 //
 // If we have rvalue references go all over again with rvalue ref overloads and move semantics.
 // Note that while it would be tempting to implement these so they return an rvalue reference


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