![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <032-coroutine.hpp>
Public Types | |
using | resumable_type = ResumableType< SemanticReturnType > |
using | promise_handle_type = std::experimental::coroutine_handle< PromiseType > |
Public Member Functions | |
auto | get_return_object () |
void | unhandled_exception () |
auto | initial_suspend () |
auto | final_suspend () |
auto | return_value (SemanticReturnType value) |
auto | yield_value (SemanticReturnType value) |
Static Public Member Functions | |
static auto | get_return_object_on_allocation_failure () |
Friends | |
template<typename Type > | |
class | ResumableType |
Definition at line 56 of file 032-coroutine.hpp.
using PromiseType< SemanticReturnType >::promise_handle_type = std::experimental::coroutine_handle<PromiseType> |
Definition at line 65 of file 032-coroutine.hpp.
using PromiseType< SemanticReturnType >::resumable_type = ResumableType<SemanticReturnType> |
Definition at line 63 of file 032-coroutine.hpp.
|
inline |
Definition at line 104 of file 032-coroutine.hpp.
|
inline |
Definition at line 79 of file 032-coroutine.hpp.
|
inlinestatic |
Definition at line 86 of file 032-coroutine.hpp.
|
inline |
Definition at line 98 of file 032-coroutine.hpp.
|
inline |
Definition at line 110 of file 032-coroutine.hpp.
|
inline |
Definition at line 92 of file 032-coroutine.hpp.
|
inline |
Definition at line 119 of file 032-coroutine.hpp.
Definition at line 58 of file 032-coroutine.hpp.