|
Boost : |
Subject: Re: [boost] Boost.Fiber mini-review September 4-13
From: Nat Goodspeed (nat_at_[hidden])
Date: 2015-09-07 16:42:24
On Mon, Sep 7, 2015 at 4:28 PM, AgustÃn K-ballo Bergé
<kaballo86_at_[hidden]> wrote:
> `fiber::async` signature is still wrong. Note this was a C++11 defect:
>
> http://cplusplus.github.io/LWG/lwg-defects.html#2021
So to be clear, I think you are requesting this instead?
template< typename Fn, typename ... Args >
future< typename std::result_of< typename
std::decay<Fn>::type(typename std::decay<Args>::type... ) >::type >
async( Fn && fn, Args && ... args) { ... }
(making the corresponding future<> type change in both overloads of course)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk