Re: [Boost-bugs] [Boost C++ Libraries] #8489: Unnecessary Definition of iterator_adaptor.hpp class Has Dangerous Return of Temporary Object

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8489: Unnecessary Definition of iterator_adaptor.hpp class Has Dangerous Return of Temporary Object
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-10 05:37:29


#8489: Unnecessary Definition of iterator_adaptor.hpp class Has Dangerous Return
of Temporary Object
-------------------------------------------+------------------------------
  Reporter: Jeffrey D. Oldham <oldham@…> | Owner: jeffrey.hellrung
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iterator
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------+------------------------------

Comment (by dave):

 I take it back; this isn't a Spirit bug… yet. The error is in the user
 program. As
 http://www.boost.org/doc/libs/1_53_0/libs/spirit/doc/html/spirit/support/multi_pass.html
 makes quite clear, Spirit works only with '''forward''' iterators. It's
 not clear at all, however, why I'm unable to solve the problem by wrapping
 the {{{istreambuf_iterator}}} with Spirit's {{{multi_pass}}}.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8489#comment:8>
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:13 UTC