diff --git a/lw/co/future.h b/lw/co/future.h index 5a4102e..6452630 100644 --- a/lw/co/future.h +++ b/lw/co/future.h @@ -374,6 +374,7 @@ Future make_resolved_future(std::exception_ptr err) { */ template co::Future> all(co::Future... futures) { + // TODO(#14): Implement this method for `co::Future`. co_return std::make_tuple((co_await futures)...); } diff --git a/lw/co/future_test.cpp b/lw/co/future_test.cpp index b8ad8fd..241f2af 100644 --- a/lw/co/future_test.cpp +++ b/lw/co/future_test.cpp @@ -374,7 +374,7 @@ TEST(AwaitAll, AllResolve) { destroy_all_schedulers(); } -// TODO(alaina): Implement support for Future in co::all. +// TODO(#14): Implement support for Future in co::all. // TEST(AwaitAll, AllVoid) { // int counter = 0; // auto coro0 = [&]() -> Future {