C++ Library Extensions 2022.12.09
To help learn modern C++ programming
032-coroutine.cpp File Reference
#include "032-coroutine.hpp"
Include dependency graph for 032-coroutine.cpp:

Go to the source code of this file.

Functions

template<typename SemanticReturnType >
ResumableType< SemanticReturnType > sum (SemanticReturnType a, SemanticReturnType b)
 
void test_coroutine_basic ()
 
template<typename SemanticReturnType >
ResumableType< SemanticReturnType > summation (SemanticReturnType max)
 
void advanced_coroutine ()
 
int main ()
 

Function Documentation

◆ advanced_coroutine()

void advanced_coroutine ( )

Definition at line 57 of file 032-coroutine.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 67 of file 032-coroutine.cpp.

Here is the call graph for this function:

◆ sum()

template<typename SemanticReturnType >
ResumableType< SemanticReturnType > sum ( SemanticReturnType  a,
SemanticReturnType  b 
)

Definition at line 6 of file 032-coroutine.cpp.

Here is the caller graph for this function:

◆ summation()

template<typename SemanticReturnType >
ResumableType< SemanticReturnType > summation ( SemanticReturnType  max)

Definition at line 43 of file 032-coroutine.cpp.

Here is the caller graph for this function:

◆ test_coroutine_basic()

void test_coroutine_basic ( )

Definition at line 18 of file 032-coroutine.cpp.

Here is the call graph for this function: