From 68be6f656378fd03c337c935aeb68437356eac51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20J=C3=A4rvi?= Date: Thu, 22 May 2003 18:27:40 +0000 Subject: [PATCH] a fix for gcc 2.95.2 [SVN r18500] --- .../lambda/detail/operator_return_type_traits.hpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/include/boost/lambda/detail/operator_return_type_traits.hpp b/include/boost/lambda/detail/operator_return_type_traits.hpp index a6493e2..767ffdf 100644 --- a/include/boost/lambda/detail/operator_return_type_traits.hpp +++ b/include/boost/lambda/detail/operator_return_type_traits.hpp @@ -492,7 +492,6 @@ struct promotion_of_unsigned_int { typedef detail::IF" messes up the parsing. unsigned long, long>::RET type; }; @@ -866,10 +865,20 @@ namespace std { template class map; template class multimap; template class vector; - template class deque; template class basic_string; } +// The GCC 2.95.x uses a non-conformant deque +#if BOOST_WORKAROUND(__GNUC__, == 2) && __GNUC_MINOR__ <= 96 +#include +#else + +namespace std { + template class deque; +} + +#endif + namespace boost { namespace lambda {