C++ Library Extensions 2022.12.09
To help learn modern C++ programming
awaitable< Type > Class Template Reference

#include <033-coroutine.hpp>

Public Member Functions

 awaitable (Type value)
 
auto operator co_await ()
 

Detailed Description

template<typename Type>
class awaitable< Type >

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

Constructor & Destructor Documentation

◆ awaitable()

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

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

Member Function Documentation

◆ operator co_await()

template<typename Type >
auto awaitable< Type >::operator co_await ( )
inline

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


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