From 840b39144cbbef233bfb257167b9f8da766d95e8 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 28 Oct 2005 21:47:29 +0000 Subject: [PATCH] work around IRIX MIPSpro 7.3.1 (EDG 238) "ambiguous by inheritance" bug" [SVN r31501] --- include/boost/bind/bind_template.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/bind/bind_template.hpp b/include/boost/bind/bind_template.hpp index 3129b60..5aac196 100644 --- a/include/boost/bind/bind_template.hpp +++ b/include/boost/bind/bind_template.hpp @@ -38,7 +38,8 @@ BOOST_BIND_RETURN l_(type(), f_, a, 0); } -#if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) +#if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) \ + && !BOOST_WORKAROUND(__EDG_VERSION__, <= 238) template result_type operator()(A1 const & a1) { @@ -66,7 +67,8 @@ BOOST_BIND_RETURN l_(type(), f_, a, 0); } -#if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) +#if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) \ + && !BOOST_WORKAROUND(__EDG_VERSION__, <= 238) template result_type operator()(A1 const & a1, A2 & a2) {