From 30917e9f6aa1ca28cff4d4369fd1f86816ac0b8a Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 15 Dec 2002 15:13:51 +0000 Subject: [PATCH] MIPSpro's library needs to use allocator, not allocator [SVN r16616] --- include/boost/function/function_base.hpp | 7 +++++++ 1 file changed, 7 insertions(+) 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,