Ticket #5279: foreach.patch
File foreach.patch, 953 bytes (added by , 12 years ago) |
---|
-
boost-trunk/boost/foreach.hpp
31 31 32 32 // Some compilers let us detect even const-qualified rvalues at compile-time 33 33 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1310) && !defined(_PREFAST_) \ 34 || (BOOST_WORKAROUND(__GNUC__, >= 4) && !defined(BOOST_INTEL) && !defined(BOOST_CLANG)) \ 34 || (BOOST_WORKAROUND(__GNUC__, == 4) && (__GNUC_MINOR__ <= 5) && !defined(BOOST_INTEL) && \ 35 !defined(BOOST_CLANG)) \ 35 36 || (BOOST_WORKAROUND(__GNUC__, == 3) && (__GNUC_MINOR__ >= 4) && !defined(BOOST_INTEL) && \ 36 37 !defined(BOOST_CLANG)) 37 38 # define BOOST_FOREACH_COMPILE_TIME_CONST_RVALUE_DETECTION