Re: [Boost-bugs] [Boost C++ Libraries] #5697: iterator_facade::operator-> is broken for proxy references

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5697: iterator_facade::operator-> is broken for proxy references
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-15 03:21:01


#5697: iterator_facade::operator-> is broken for proxy references
------------------------------------------------------------+---------------
  Reporter: Jeffrey Hellrung <jeffrey.hellrung@…> | Owner: dave
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iterator
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: iterator_facade, operator->, operator_arrow_proxy
------------------------------------------------------------+---------------

Comment (by Jeffrey Hellrung <jeffrey.hellrung@…>):

 Okay, I ran the iterator tests, and iterator_facade.cpp failed to compile
 at line 107, "p->mutator();". To get that line to compile (and the test
 to pass), I removed some consts from the operator_arrow_dispatch::proxy,
 as shown in the second attachment (iterator_facade.patch.2.hpp). Looks
 like all iterator tests pass now, but I'm not really sure if the consts
 would be necessary on other compilers (I'm using MSVC9 on Windows 7). Let
 me know what you think when you get a chance (and thanks for looking at
 this with me!).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5697#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC