Re: [Boost-bugs] [Boost C++ Libraries] #12895: VS 2012: zip_iterator dereference causes a compiler error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12895: VS 2012: zip_iterator dereference causes a compiler error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-14 09:05:17


#12895: VS 2012: zip_iterator dereference causes a compiler error
--------------------------------+------------------------------
  Reporter: daniel.kruegler@… | Owner: jeffrey.hellrung
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iterator
   Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+------------------------------

Comment (by daniel.kruegler@…):

 Replying to [comment:4 daniel.kruegler@…]:
> In fact the application of remove_reference and remove_cv is applied in
 the wrong order, it would suffice to invert them as follows:
>
> {{{
> typedef typename remove_cv<typename
> remove_reference<Iterator>::type>::type
> iterator;
> }}}

 I applied that simple fix locally and it was sufficient to resolve that
 problem. What is the preferred way to make a concrete patch suggestion?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12895#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-03-14 09:08:32 UTC