27 Jul
2018
27 Jul
'18
8:25 p.m.
On Fri, Jul 27, 2018, 1:58 AM Gavin Lambert via Boost
(https://www.boost.org/doc/libs/1_67_0/libs/fiber/doc/html/index.html) is another way. This also supports futures, although not currently then-able ones.
Boost.Fiber doesn't need fibers::future::then - just suspend the fiber. If you need more concurrency than that, launch another fiber. then() is redundant with coroutine and fiber concurrency.