Boost logo

Boost :

Subject: Re: [boost] [Review.Coroutine] More comments, questions and suggestions
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-09-11 01:38:47


One more question

/I don't know if this has already be commented.

Now that Boost.Coroutine is able to transfer user exceptions, what is
the difference between calling to coroutine<>::self_t::yield_break()/
and throwing /coroutine_terminated?/

If there is no one, shouldn't both (/coroutine<>::self_t::yield_break()/
and throwing /coroutine_terminated) /be removed from the library?

The same applies for generators.


Boost list run by bdawes at, gregod at, cpdaniel at, john at