Boost logo

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 13:48:25

2014-08-28 19:03 GMT+02:00 Michel Morin <mimomorin_at_[hidden]>:

> > 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.

and why not std::begin()? should be legal for c++11

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at