C++ Library Extensions 2022.12.09
To help learn modern C++ programming
awaiter< Type > Struct Template Reference

#include <033-coroutine.hpp>

Public Member Functions

 awaiter (Type value)
 
bool await_ready () noexcept
 
void await_suspend (std::experimental::coroutine_handle<>) noexcept
 
Type await_resume () noexcept
 

Detailed Description

template<typename Type>
struct awaiter< Type >

Definition at line 7 of file 033-coroutine.hpp.

Constructor & Destructor Documentation

◆ awaiter()

template<typename Type >
awaiter< Type >::awaiter ( Type  value)
inline

Definition at line 13 of file 033-coroutine.hpp.

Member Function Documentation

◆ await_ready()

template<typename Type >
bool awaiter< Type >::await_ready ( )
inlinenoexcept

Definition at line 16 of file 033-coroutine.hpp.

◆ await_resume()

template<typename Type >
Type awaiter< Type >::await_resume ( )
inlinenoexcept

Definition at line 26 of file 033-coroutine.hpp.

◆ await_suspend()

template<typename Type >
void awaiter< Type >::await_suspend ( std::experimental::coroutine_handle<>  )
inlinenoexcept

Definition at line 23 of file 033-coroutine.hpp.


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