Boost logo

Boost-Commit :

From: nicola.musatti_at_[hidden]
Date: 2007-10-11 17:07:18


Author: nmusatti
Date: 2007-10-11 17:07:17 EDT (Thu, 11 Oct 2007)
New Revision: 39944
URL: http://svn.boost.org/trac/boost/changeset/39944

Log:
Updated to support C++Builder 2007 Update 3 (bcc32 5.9.2)
Text files modified:
   trunk/boost/parameter/macros.hpp | 2 +-
   trunk/boost/parameter/name.hpp | 3 ++-
   trunk/boost/parameter/parameters.hpp | 4 ++--
   trunk/boost/parameter/preprocessor.hpp | 4 ++--
   4 files changed, 7 insertions(+), 6 deletions(-)

Modified: trunk/boost/parameter/macros.hpp
==============================================================================
--- trunk/boost/parameter/macros.hpp (original)
+++ trunk/boost/parameter/macros.hpp 2007-10-11 17:07:17 EDT (Thu, 11 Oct 2007)
@@ -21,7 +21,7 @@
 
 #define BOOST_PARAMETER_FUN_TEMPLATE_HEAD0(n)
 
-#ifndef BOOST_NO_SFINAE
+#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
 
 # define BOOST_PARAMETER_MATCH_TYPE(n, param) \
             BOOST_PP_EXPR_IF(n, typename) param::match \

Modified: trunk/boost/parameter/name.hpp
==============================================================================
--- trunk/boost/parameter/name.hpp (original)
+++ trunk/boost/parameter/name.hpp 2007-10-11 17:07:17 EDT (Thu, 11 Oct 2007)
@@ -16,7 +16,8 @@
 # include <boost/mpl/placeholders.hpp>
 
 # if !defined(BOOST_NO_SFINAE) \
- && !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
+ && !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
+ && !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
 
 # include <boost/utility/enable_if.hpp>
 # include <boost/mpl/lambda.hpp>

Modified: trunk/boost/parameter/parameters.hpp
==============================================================================
--- trunk/boost/parameter/parameters.hpp (original)
+++ trunk/boost/parameter/parameters.hpp 2007-10-11 17:07:17 EDT (Thu, 11 Oct 2007)
@@ -725,7 +725,7 @@
     // ::type).
 
 
-#ifndef BOOST_NO_SFINAE
+#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
     // If NamedList satisfies the PS0, PS1, ..., this is a
     // metafunction returning parameters. Otherwise it
     // has no nested ::type.
@@ -775,7 +775,7 @@
 #endif
>
     struct match
-# ifndef BOOST_NO_SFINAE
+# if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
       : match_base<
             typename aux::make_arg_list<
                 typename BOOST_PARAMETER_build_arg_list(

Modified: trunk/boost/parameter/preprocessor.hpp
==============================================================================
--- trunk/boost/parameter/preprocessor.hpp (original)
+++ trunk/boost/parameter/preprocessor.hpp 2007-10-11 17:07:17 EDT (Thu, 11 Oct 2007)
@@ -38,7 +38,7 @@
 
 namespace boost { namespace parameter { namespace aux {
 
-# ifndef BOOST_NO_SFINAE
+# if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
 
 // Given Match, which is "void x" where x is an argument matching
 // criterion, extract a corresponding MPL predicate.
@@ -353,7 +353,7 @@
     template<BOOST_PP_ENUM_PARAMS_Z(z, n, class ParameterArgumentType)>
 /**/
 
-# ifndef BOOST_NO_SFINAE
+# if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
 # define BOOST_PARAMETER_FUNCTION_FWD_MATCH_Z(z, name, parameters, n) \
     , typename boost::parameter::aux::match< \
           parameters, BOOST_PP_ENUM_PARAMS(n, ParameterArgumentType) \


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