mp-coro main
Coroutine support tools
Classes | Namespaces | Functions
when_all.h File Reference
#include <mp-coro/bits/synchronized_task.h>
#include <mp-coro/concepts.h>
#include <mp-coro/trace.h>
#include <mp-coro/type_traits.h>
#include <atomic>
#include <coroutine>
#include <cstdint>
#include <ranges>
#include <tuple>
#include <vector>
+ Include dependency graph for when_all.h:

Go to the source code of this file.

Classes

class  when_all_sync
 
struct  when_all_awaitable< T >
 
struct  when_all_awaitable< T >::awaiter_base
 

Namespaces

namespace  mp_coro
 
namespace  mp_coro::detail
 

Functions

template<typename T >
std::size_t tasks_size (T &container)
 
template<typename T >
decltype(auto) start_all_tasks (T &container, when_all_sync &sync)
 
template<typename T >
decltype(auto) make_all_results (T &&container)
 
template<awaitable... Awaitables>
awaitable auto when_all (Awaitables &&...awaitables)
 
template<std::ranges::range R>
awaitable auto when_all (R &&awaitables)