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-17 03:42:27


#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@…>):

 I have uploaded a patch for iterator_facade.hpp, but I'm having issues
 uploading a patch for iterator_facade.cpp (from libs/iterator/test). The
 spam filter keeps thinking I'm uploading spam :( I guess I will email the
 attachment directly to you, Dave, and if it gets lost in the shuffle, I
 can try uploading again...

 The test fails for the present version of iterator_facade with

 compile-c-c++
 ..\..\..\bin.v2\libs\iterator\test\iterator_facade.test\msvc-9.0\debug
 \threading-multi\iterator_facade.obj
 iterator_facade.cpp
 D:\boost_1_47_0\boost/iterator/iterator_facade.hpp(327) : error C2664:
 'boost::implicit_cast' : cannot convert parameter 1 from 'wrapper<T> *' to
 'boost::detail::operator_arrow_proxy<T>'
         with
         [
             T=int &
         ]
         and
         [
             T=wrapper<int>
         ]
         No constructor could take the source type, or constructor overload
 resolution was ambiguous

 ...as expected.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5697#comment:9>
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