Re: [Boost-bugs] [Boost C++ Libraries] #9431: Problem compiling zip_iterator with clang and C++11

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9431: Problem compiling zip_iterator with clang and C++11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-27 20:27:15


#9431: Problem compiling zip_iterator with clang and C++11
-------------------------------+------------------------------
  Reporter: jonathan.jones@… | Owner: jeffrey.hellrung
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iterator
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------------

Comment (by jonathan.jones@…):

 The core problem seems to be this:

 {{{
 boost::detail::facade_iterator_category<boost::random_access_traversal_tag,
 boost::tuple<T&>, boost::tuple<T&> >::type
 }}}

 evaluates to the type:

 {{{
 boost::detail::iterator_category_with_traversal<std::input_iterator_tag,
 boost::random_access_traversal_tag>
 }}}

 This is how zip_iterator instantiates it, with boost::tuple<T&> as both
 the value and the reference type.

 The newest implementation of std::fill in Xcode has implementations
 specific to forward_iterator_tag and random_access_iterator_tag, but not
 input_iterator_tag, hence the failure to compile.

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