Re: [Boost-bugs] [Boost C++ Libraries] #4488: iterator_facade operator[] return type does not function correctly

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4488: iterator_facade operator[] return type does not function correctly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-29 16:02:46


#4488: iterator_facade operator[] return type does not function correctly
-----------------------------------+----------------------------------------
  Reporter: justus.c79@… | Owner: dave
      Type: Bugs | Status: closed
 Milestone: Boost 1.44.0 | Component: iterator
   Version: Boost 1.44.0 | Severity: Problem
Resolution: invalid | Keywords: iterator_facade, operator_brackets_proxy, operator[], operator []
-----------------------------------+----------------------------------------
Changes (by dave):

  * status: new => closed
  * resolution: => invalid

Comment:

 It actually is intentional. See the last paragraph of
 http://www.boost.org/doc/libs/1_43_0/libs/iterator/doc/new-iter-
 concepts.html#design. If you want a true reference from `operator[]` you
 should write your own in your derived iterator class.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4488#comment:1>
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:04 UTC