From 20e6d717554c86a475b45cf24508c4b00d331c0d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 20 Nov 2003 21:14:29 +0000 Subject: [PATCH] undo pointless Borland workarounds [SVN r20883] --- include/boost/iterator/is_lvalue_iterator.hpp | 28 ++----------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/include/boost/iterator/is_lvalue_iterator.hpp b/include/boost/iterator/is_lvalue_iterator.hpp index bab296f..4938151 100755 --- a/include/boost/iterator/is_lvalue_iterator.hpp +++ b/include/boost/iterator/is_lvalue_iterator.hpp @@ -4,22 +4,10 @@ #ifndef IS_LVALUE_ITERATOR_DWA2003112_HPP # define IS_LVALUE_ITERATOR_DWA2003112_HPP -#include -#include - -#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) -# include -# include -# include -#endif - -#include #include -#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) -# include -# include -#endif +#include +#include #include @@ -62,19 +50,7 @@ namespace detail // convertible to Value const& struct conversion_eater { - // Borland (at leasT 5.5.1) has some problems converting to - // non-const Value& where Value is an integral type. -#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) - typedef typename mpl::if_< - mpl::and_, mpl::not_ > > - , Value - , Value& - >::type src; - - conversion_eater(src); -#else conversion_eater(Value&); -#endif }; static char tester(conversion_eater, int);