Boost logo

Boost Users :

Subject: Re: [Boost-users] Cannot use Boost.Croutines with range based for
From: Mueller-Roemer, Johannes Sebastian (Johannes.Sebastian.Mueller-Roemer_at_[hidden])
Date: 2014-08-27 11:20:21


It does not compile with GCC-4.9.1

--
Johannes S. Mueller-Roemer, MSc
Wiss. Mitarbeiter - Interactive Engineering Technologies (IET)

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5 | 64283 Darmstadt | Germany
Tel +49 6151 155-606 | Fax +49 6151 155-139
johannes.mueller-roemer_at_[hidden] | www.igd.fraunhofer.de

From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Oliver Kowalke
Sent: Wednesday, August 27, 2014 17:16
To: boost-users
Subject: Re: [Boost-users] Cannot use Boost.Croutines with range based for


2014-08-27 12:57 GMT+02:00 Mueller-Roemer, Johannes Sebastian <Johannes.Sebastian.Mueller-Roemer_at_[hidden]<mailto:Johannes.Sebastian.Mueller-Roemer_at_[hidden]>>:
Hi,

I am (again) having issues with the Boost.Coroutines library. Aside from yet another new API, the coroutines no longer work with range based for. Even though the examples include range based for! With the following code (taken directly from the documentation and added the includes and main):

example/cpp11/asymmetric/fibonacci compiles with gcc-4.8.1 and clang-3.4.1 without problems



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net