|
Boost Users : |
Subject: Re: [Boost-users] Cannot use Boost.Croutines with range based for
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2014-08-28 12:57:49
2014-08-28 17:24 GMT+02:00 Mueller-Roemer, Johannes Sebastian <
Johannes.Sebastian.Mueller-Roemer_at_[hidden]>:
> 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.
>
but it does not work for gcc+clang on Linux
layout.cpp:47:49: error: no matching function for call to 'begin'
std::copy(std::begin(words),std::end(words),std::begin(writer));
I'll take a look at boost.range, maybe I find code telling me how to deal
with this issue
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