Subject: Re: [boost] markable -- informal review request
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2016-09-21 04:59:57
On 21 Sep 2016 7:21 am, "Andrzej Krzemienski" <akrzemi1_at_[hidden]> wrote:
> 2016-09-21 1:32 GMT+02:00 Giovanni Piero Deretta <gpderetta_at_[hidden]>:
> > On 20 Sep 2016 12:04 pm, "Andrzej Krzemienski" <akrzemi1_at_[hidden]>
> > * Add flatMap?
> Thanks for the feedback. I am just reading through it. Just one immediate
> question. What do you mean by "Add flatMap" here? What would it do?
Apply a function f to the contained element of the markable<T> (if non
If f is from T->U returns markable<U>, if it is T->markable<U> simply
returns that. Exactly like std::future::then. In fact it should probably be
called 'then' instead of flatMap. Optional should also have it of course.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk