Boost logo

Boost :

Subject: Re: [boost] [next gen future-promise] What to call themonadicreturn type?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-05-26 14:07:39


Le 26/05/15 11:20, Niall Douglas a écrit :
> 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().
Really. This is an implementation detail. The library implementer can do
whatever is needed without using a promise here. This was the intent of
the function.

Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk