![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include "033-coroutine.hpp"
Go to the source code of this file.
Functions | |
resumable_type< int > | addition (int a, int b) |
void | test_co_return () |
resumable_type< int > | summation (int max) |
void | test_co_yield () |
resumable_type< int > | factorial (int max) |
void | test_co_await () |
resumable_type | no_return_value_coroutine (int max) |
void | test_no_return_value_coroutine () |
int | main () |
resumable_type< int > addition | ( | int | a, |
int | b | ||
) |
resumable_type< int > factorial | ( | int | max | ) |
int main | ( | ) |
resumable_type no_return_value_coroutine | ( | int | max | ) |
resumable_type< int > summation | ( | int | max | ) |
void test_co_await | ( | ) |
Definition at line 63 of file 033-coroutine.cpp.
void test_co_return | ( | ) |
Definition at line 11 of file 033-coroutine.cpp.
void test_co_yield | ( | ) |
Definition at line 34 of file 033-coroutine.cpp.
void test_no_return_value_coroutine | ( | ) |
Definition at line 84 of file 033-coroutine.cpp.