mp-coro main
Coroutine support tools
All Classes Namespaces Files Functions Variables Typedefs Macros Modules Pages Concepts
Classes | Public Member Functions | Private Attributes | List of all members
when_all_awaitable< T > Struct Template Reference

#include <mp-coro/when_all.h>

Detailed Description

template<typename T>
struct mp_coro::detail::when_all_awaitable< T >

Definition at line 121 of file when_all.h.

+ Collaboration diagram for when_all_awaitable< T >:

Classes

struct  awaiter_base
 

Public Member Functions

 when_all_awaitable (T &&tasks)
 
decltype(auto) operator co_await () &
 
decltype(auto) operator co_await () &&
 

Private Attributes

tasks_
 
when_all_sync sync_ = tasks_size(tasks_)
 

Constructor & Destructor Documentation

◆ when_all_awaitable()

when_all_awaitable ( T &&  tasks)
inlineexplicit

Definition at line 122 of file when_all.h.

Member Function Documentation

◆ operator co_await() [1/2]

decltype(auto) operator co_await ( ) &
inline

Definition at line 124 of file when_all.h.

+ Here is the call graph for this function:

◆ operator co_await() [2/2]

decltype(auto) operator co_await ( ) &&
inline

Definition at line 134 of file when_all.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ tasks_

T tasks_
private

Definition at line 158 of file when_all.h.

◆ sync_

when_all_sync sync_ = tasks_size(tasks_)
private

Definition at line 159 of file when_all.h.


The documentation for this struct was generated from the following file: