function_template.hpp:

- Don't let Borland C++ use class template function

function_base.hpp:
  - Work around freaky MIPSpro bug that affects the Python lib


[SVN r15514]
This commit is contained in:
Douglas Gregor
2002-09-25 18:10:32 +00:00
parent e3386d8e7e
commit 8f578dbc78
2 changed files with 10 additions and 1 deletions

View File

@ -514,7 +514,7 @@ namespace boost {
f1.swap(f2);
}
#if !defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
#if !defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG)
#if BOOST_FUNCTION_NUM_ARGS == 0
#define BOOST_FUNCTION_PARTIAL_SPEC R (void)