Re: [Boost-bugs] [Boost C++ Libraries] #7988: [Coroutine] Support for C++11 range-for is missing

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7988: [Coroutine] Support for C++11 range-for is missing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-03 08:47:38


#7988: [Coroutine] Support for C++11 range-for is missing
-------------------------------+-----------------------
  Reporter: ld | Owner: olli
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: coroutine
   Version: Boost 1.53.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+-----------------------

Comment (by anonymous):

 The range-for does not work with Clang 3.4, boost 1.55.0. The
 unidirectional coroutine example fails to compile, with the following
 message.
  error: invalid range expression of type
 'boost::coroutines::pull_coroutine<int>'; no viable 'begin' function
 available

 For now wrapping with boost::make_iterator_range(my_coro) will solve the
 problem, but a cleaner solution would be well appreciated.

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