Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69855 - trunk/boost/iterator
From: dnljms_at_[hidden]
Date: 2011-03-11 13:28:32


Author: danieljames
Date: 2011-03-11 13:28:31 EST (Fri, 11 Mar 2011)
New Revision: 69855
URL: http://svn.boost.org/trac/boost/changeset/69855

Log:
Always include add_reference in iterator_adaptor.

It's only included for certain configurations but is always used. This
didn't matter in the past because it was transitively included by
is_convertible. But it isn't now on Visual C++ because its itsintrinsic
version is being used, which doesn't require add_reference.
Text files modified:
   trunk/boost/iterator/iterator_adaptor.hpp | 8 +-------
   1 files changed, 1 insertions(+), 7 deletions(-)

Modified: trunk/boost/iterator/iterator_adaptor.hpp
==============================================================================
--- trunk/boost/iterator/iterator_adaptor.hpp (original)
+++ trunk/boost/iterator/iterator_adaptor.hpp 2011-03-11 13:28:31 EST (Fri, 11 Mar 2011)
@@ -24,15 +24,9 @@
 
 #ifdef BOOST_ITERATOR_REF_CONSTNESS_KILLS_WRITABILITY
 # include <boost/type_traits/remove_reference.hpp>
-
-# 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
 
+#include <boost/type_traits/add_reference.hpp>
 #include <boost/iterator/detail/config_def.hpp>
 
 #include <boost/iterator/iterator_traits.hpp>


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