Boost logo

Boost Users :

Subject: Re: [Boost-users] Cannot use Boost.Croutines with range based for
From: Michel Morin (mimomorin_at_[hidden])
Date: 2014-08-28 13:03:09


Hi Oliver,

Oliver Kowalke wrote:
> 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));

For push_coroutine/pull_coroutine, try using boost::begin/end.

Regards,
Michel


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