https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61617
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to piotr5 from comment #0) > this has been suggested for addition in the next standard. So have lots of other things, many of them contradictory. We've got plenty of work that *is* in the standard to do first. In the meantime boost::coroutine already exists in Boost.