Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61280 - branches/release/boost/range
From: neil_at_[hidden]
Date: 2010-04-14 17:15:42


Author: neilgroves
Date: 2010-04-14 17:15:41 EDT (Wed, 14 Apr 2010)
New Revision: 61280
URL: http://svn.boost.org/trac/boost/changeset/61280

Log:
Boost.Range merged defect fix for iterator_range.
Properties modified:
   branches/release/boost/range/ (props changed)
Text files modified:
   branches/release/boost/range/iterator_range_core.hpp | 12 ------------
   1 files changed, 0 insertions(+), 12 deletions(-)

Modified: branches/release/boost/range/iterator_range_core.hpp
==============================================================================
--- branches/release/boost/range/iterator_range_core.hpp (original)
+++ branches/release/boost/range/iterator_range_core.hpp 2010-04-14 17:15:41 EDT (Wed, 14 Apr 2010)
@@ -290,23 +290,11 @@
                return *--last;
            }
 
-
-#ifdef __SUNPRO_CC
            reference operator[]( difference_type at ) const
            {
                BOOST_ASSERT( at >= 0 && at < size() );
                return m_Begin[at];
            }
-#else
- BOOST_DEDUCED_TYPENAME boost::detail::operator_brackets_result<iterator, value_type, reference>::type
- operator[]( difference_type at ) const
- {
- BOOST_ASSERT( at >= 0 && at < size() );
-
- typedef boost::detail::use_operator_brackets_proxy<value_type,reference> use_proxy;
- return boost::detail::make_operator_brackets_result<iterator>(m_Begin + at, use_proxy());
- }
-#endif
 
            //
            // When storing transform iterators, operator[]()


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