Boost logo

Boost :

Subject: Re: [boost] [next gen future-promise] What to call themonadicreturntype?
From: Peter Dimov (lists_at_[hidden])
Date: 2015-05-26 06:50:58

Niall Douglas wrote:

> On 26 May 2015 at 2:36, Peter Dimov wrote:
> > > In my implementation, if you never call promise.get_future() you never
> > > get synchronisation.
> >
> > That's an interesting use case. When does it occur?
> make_ready_future().

I'd expect make_ready_future to not need to create a promise at all. It just
creates a ready future.

The use case I was wondering above is that you create a promise, but never
get a future from it.

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