diff --git a/include/boost/function/function_base.hpp b/include/boost/function/function_base.hpp index 773cf5f..39b5dec 100644 --- a/include/boost/function/function_base.hpp +++ b/include/boost/function/function_base.hpp @@ -76,8 +76,15 @@ namespace boost { namespace python { namespace objects { #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) namespace boost { +#if defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730 && !defined(BOOST_STRICT_CONFIG) +// The library shipping with MIPSpro 7.3.1.3m has a broken allocator +template > +class function; +#else template > class function; +#endif template inline void swap(function& f1,