Boost logo

Boost :

Subject: Re: [boost] [Review.Coroutine] More comments, questions and suggestions
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-09-11 02:25:04

> 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?/

equivalent - in previous implementations yield_break() adjusted some internal flags (now done in another way)

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

generator<>::self_t::yield_break() was removed


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