executors / futures

A proposal for a futures programming model for ISO C++
22 stars 7 forks source link

Fixes for future types for fallback promise future query. #96

Closed LeeHowes closed 6 years ago

LeeHowes commented 6 years ago

Issue #93

Change from std::future/std::promise (leftover from when this was a separate paper) to std::standard_semi_future/std::standard_promise.

dhollman commented 6 years ago

I guess the way we've written the new requirements on ThenExecutor, the association of a closure before type erasure is no longer necessary.

dhollman commented 6 years ago

This change also makes standard_promise and standard_continuable_future into de facto type-erasing wrappers. Are we okay with that?

dhollman commented 6 years ago

@LeeHowes We can do something slightly different here and address #97 also. What do you think?

LeeHowes commented 6 years ago

Merging and we can build on it.