Ticket #5475: revert_to_cxx_03.patch
File revert_to_cxx_03.patch, 1000 bytes (added by , 11 years ago) |
---|
-
boost/foreach.hpp
33 33 // Some compilers support rvalue references and auto type deduction. 34 34 // With these C++0x features, temporary collections can be bound to 35 35 // rvalue references and their lifetime is extended. No copy/move is needed. 36 #if !defined(BOOST_NO_DECLTYPE) && !defined(BOOST_NO_RVALUE_REFERENCES) 36 #if !defined(BOOST_NO_DECLTYPE) && !defined(BOOST_NO_RVALUE_REFERENCES) \ 37 && !(BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ == 4) && !defined(BOOST_INTEL) && \ 38 !defined(BOOST_CLANG)) 37 39 # define BOOST_FOREACH_USE_RVALUE_REFERENCE_BINDING 38 40 // Some compilers let us detect even const-qualified rvalues at compile-time 39 41 #elif !defined(BOOST_NO_RVALUE_REFERENCES) \