|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66370 - sandbox/function/boost/function
From: dsaritz_at_[hidden]
Date: 2010-11-03 06:42:04
Author: psiha
Date: 2010-11-03 06:42:03 EDT (Wed, 03 Nov 2010)
New Revision: 66370
URL: http://svn.boost.org/trac/boost/changeset/66370
Log:
Reintroduced the BOOST_FUNCTION_TARGET_FIX macro.
Text files modified:
sandbox/function/boost/function/function_base.hpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Modified: sandbox/function/boost/function/function_base.hpp
==============================================================================
--- sandbox/function/boost/function/function_base.hpp (original)
+++ sandbox/function/boost/function/function_base.hpp 2010-11-03 06:42:03 EDT (Wed, 03 Nov 2010)
@@ -109,6 +109,14 @@
# define BOOST_FUNCTION_COMPARE_TYPE_ID(X,Y) ((X)==(Y))
#endif
+// Implementation note:
+// BOOST_FUNCTION_TARGET_FIX is still required by tests.
+// (03.11.2010.) (Domagoj Saric)
+#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(__ICL) && __ICL <= 600 || defined(__MWERKS__) && __MWERKS__ < 0x2406 && !defined(BOOST_STRICT_CONFIG)
+# define BOOST_FUNCTION_TARGET_FIX(x) x
+#else
+# define BOOST_FUNCTION_TARGET_FIX(x)
+#endif // not MSVC
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x5A0)
# define BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor,Type) \
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