Re: [Boost-bugs] [Boost C++ Libraries] #3999: multi_pass cannot deal with all input iterators

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3999: multi_pass cannot deal with all input iterators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-10 12:46:08


#3999: multi_pass cannot deal with all input iterators
---------------------------+----------------------
  Reporter: cornedbee | Owner: hkaiser
      Type: Bugs | Status: reopened
 Milestone: Boost 1.43.0 | Component: spirit
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+----------------------

Comment (by hkaiser):

 Replying to [comment:6 dave]:
> …and I think this simple patch fixes it. Hopefully someone can check my
 reasoning
>
> {{{
> #!diff
> --- buffering_input_iterator_policy.hpp 2013-06-09
 20:34:46.000000000 -0700
> +++
 /Users/dave/src/boost/release/boost_1_53_0/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp
 2013-06-09 23:22:02.000000000 -0700
> @@ -49,7 +49,7 @@
> typename boost::detail::iterator_traits<T>::pointer
> pointer;
> typedef
> - typename boost::detail::iterator_traits<T>::reference
> + result_type&
> reference;
> typedef result_type value_type;
>
> }}}

 Does this mean that in your case `result_type&` is something different
 from `typename boost::detail::iterator_traits<T>::reference`? That does
 not look right to me.

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