|
Boost-Commit : |
From: nicola.musatti_at_[hidden]
Date: 2007-10-07 17:43:45
Author: nmusatti
Date: 2007-10-07 17:43:45 EDT (Sun, 07 Oct 2007)
New Revision: 39771
URL: http://svn.boost.org/trac/boost/changeset/39771
Log:
Updated to support C++Builder 2007 Update 3 (bcc32 5.9.2)
Text files modified:
branches/bcbboost/libs/parameter/test/preprocessor.cpp | 2 +-
branches/bcbboost/libs/parameter/test/sfinae.cpp | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: branches/bcbboost/libs/parameter/test/preprocessor.cpp
==============================================================================
--- branches/bcbboost/libs/parameter/test/preprocessor.cpp (original)
+++ branches/bcbboost/libs/parameter/test/preprocessor.cpp 2007-10-07 17:43:45 EDT (Sun, 07 Oct 2007)
@@ -453,7 +453,7 @@
, name = S("foo")
);
-#ifndef BOOST_NO_SFINAE
+#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x591))
assert(sfinae("foo") == 1);
assert(sfinae(1) == 0);
Modified: branches/bcbboost/libs/parameter/test/sfinae.cpp
==============================================================================
--- branches/bcbboost/libs/parameter/test/sfinae.cpp (original)
+++ branches/bcbboost/libs/parameter/test/sfinae.cpp 2007-10-07 17:43:45 EDT (Sun, 07 Oct 2007)
@@ -9,7 +9,7 @@
#include <string>
#include <boost/type_traits/is_convertible.hpp>
-#ifndef BOOST_NO_SFINAE
+#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x591))
# include <boost/utility/enable_if.hpp>
# include <boost/type_traits/is_same.hpp>
#endif
@@ -70,7 +70,7 @@
f_impl(args(a0, a1));
}
-#ifndef BOOST_NO_SFINAE
+#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x591))
// On compilers that actually support SFINAE, add another overload
// that is an equally good match and can only be in the overload set
// when the others are not. This tests that the SFINAE is actually
@@ -96,7 +96,7 @@
f("foo", 3.f);
f(value = 3.f, name = "foo");
-#ifndef BOOST_NO_SFINAE
+#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x591))
BOOST_TEST(f(3, 4) == 0);
#endif
return boost::report_errors();
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