I had another look and that isn’t quite true. It does define them, but only if __clang__ is defined. I tried removing that #ifdef (and the std::begin/end) and that works on my GCC-4.8.1 install as well.

 

--

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@igd.fraunhofer.de  |  www.igd.fraunhofer.de

 

From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Oliver Kowalke
Sent: Thursday, August 28, 2014 17:14
To: boost-users
Subject: Re: [Boost-users] Cannot use Boost.Croutines with range based for

 

asymmetric_coroutine.hpp already contains boost::coroutines::begin() and boost::coroutines::end()