Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49321 - in branches/release/boost/iterator: . detail
From: nicola.musatti_at_[hidden]
Date: 2008-10-13 15:27:27


Author: nmusatti
Date: 2008-10-13 15:27:26 EDT (Mon, 13 Oct 2008)
New Revision: 49321
URL: http://svn.boost.org/trac/boost/changeset/49321

Log:
CodeGear patch. Fixes #2344
Text files modified:
   branches/release/boost/iterator/detail/config_def.hpp | 2 +-
   branches/release/boost/iterator/indirect_iterator.hpp | 2 +-
   branches/release/boost/iterator/iterator_adaptor.hpp | 9 +++++++--
   branches/release/boost/iterator/iterator_facade.hpp | 3 +--
   4 files changed, 10 insertions(+), 6 deletions(-)

Modified: branches/release/boost/iterator/detail/config_def.hpp
==============================================================================
--- branches/release/boost/iterator/detail/config_def.hpp (original)
+++ branches/release/boost/iterator/detail/config_def.hpp 2008-10-13 15:27:26 EDT (Mon, 13 Oct 2008)
@@ -47,7 +47,7 @@
 #endif
 
 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
- || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531)) \
+ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x5A0)) \
     || (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
     || BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042)) \
     || BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590))

Modified: branches/release/boost/iterator/indirect_iterator.hpp
==============================================================================
--- branches/release/boost/iterator/indirect_iterator.hpp (original)
+++ branches/release/boost/iterator/indirect_iterator.hpp 2008-10-13 15:27:26 EDT (Mon, 13 Oct 2008)
@@ -110,7 +110,7 @@
   private:
       typename super_t::reference dereference() const
       {
-# if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
+# if BOOST_WORKAROUND(__BORLANDC__, < 0x5A0 )
           return const_cast<super_t::reference>(**this->base());
 # else
           return **this->base();

Modified: branches/release/boost/iterator/iterator_adaptor.hpp
==============================================================================
--- branches/release/boost/iterator/iterator_adaptor.hpp (original)
+++ branches/release/boost/iterator/iterator_adaptor.hpp 2008-10-13 15:27:26 EDT (Mon, 13 Oct 2008)
@@ -24,9 +24,14 @@
 
 #ifdef BOOST_ITERATOR_REF_CONSTNESS_KILLS_WRITABILITY
 # include <boost/type_traits/remove_reference.hpp>
-#else
+
+# if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610))
+# include <boost/type_traits/add_reference.hpp>
+# endif
+
+#else
 # include <boost/type_traits/add_reference.hpp>
-#endif
+#endif
 
 #include <boost/iterator/detail/config_def.hpp>
 

Modified: branches/release/boost/iterator/iterator_facade.hpp
==============================================================================
--- branches/release/boost/iterator/iterator_facade.hpp (original)
+++ branches/release/boost/iterator/iterator_facade.hpp 2008-10-13 15:27:26 EDT (Mon, 13 Oct 2008)
@@ -470,8 +470,7 @@
   //
   class iterator_core_access
   {
-# if defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) \
- || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
+# if defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
       // Tasteless as this may seem, making all members public allows member templates
       // to work in the absence of member template friends.
    public:


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk