Fix for gcc-4.4.x: rvalue reference support in gcc-4.4 isn't good enough for our use cases.

[SVN r81510]
This commit is contained in:
John Maddock
2012-11-24 18:28:04 +00:00
parent 4d78b669b8
commit b9b28eefa7

View File

@@ -285,7 +285,7 @@ BOOST_FORCEINLINE typename enable_if<is_integral<I>, number<B, et_off> >::type
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