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 13:57:28


#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 michel):

 Hi Daniel,

 I failed to reproduce the error on gcc 6.
 Oh, I forgot that the default mode of gcc 6 is C++ 14,
 which means the decltype-based `boost::result_of` is used (by default).

 If I explicitly specify `-std=c++03` or define `BOOST_RESULT_OF_USE_TR1`,
 I can reproduce the error. I've also confirmed that the proposed fix
 resolves the compilation error.


> What is the preferred way to make a concrete patch suggestion?

 I think the best approach is to submit a pull request to
 https://github.com/boostorg/iterator .
 Thanks for the report and the fix!

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