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 19:54:24
#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:6 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.
Thanks for your independent evaluation and verification!
> > 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!
A pull request is available now:
https://github.com/boostorg/iterator/pull/22
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12895#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-03-14 19:58:09 UTC