|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49040 - branches/bcbboost/boost
From: nicola.musatti_at_[hidden]
Date: 2008-09-29 17:15:10
Author: nmusatti
Date: 2008-09-29 17:15:10 EDT (Mon, 29 Sep 2008)
New Revision: 49040
URL: http://svn.boost.org/trac/boost/changeset/49040
Log:
CodeGear patch
Text files modified:
branches/bcbboost/boost/foreach.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: branches/bcbboost/boost/foreach.hpp
==============================================================================
--- branches/bcbboost/boost/foreach.hpp (original)
+++ branches/bcbboost/boost/foreach.hpp 2008-09-29 17:15:10 EDT (Mon, 29 Sep 2008)
@@ -39,7 +39,7 @@
// These compilers make it impossible to for BOOST_FOREACH to detect
// temporaries and avoid reevaluation of the collection expression.
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
- || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) \
+ || BOOST_WORKAROUND(__BORLANDC__, < 0x593) \
|| (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
|| BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x570)) \
|| BOOST_WORKAROUND(__DECCXX_VER, <= 60590042)
@@ -55,7 +55,8 @@
|| (BOOST_WORKAROUND(__GNUC__, == 3) && (__GNUC_MINOR__ <= 2)) \
|| (BOOST_WORKAROUND(__GNUC__, == 3) && (__GNUC_MINOR__ <= 3) && defined(__APPLE_CC__)) \
|| BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) \
- || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206))
+ || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206)) \
+ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x590))
# define BOOST_FOREACH_NO_CONST_RVALUE_DETECTION
# else
# define BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION
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