KiCad PCB EDA Suite
coroutine_example.cpp File Reference
#include <cstdio>
#include <string>
#include <tool/coroutine.h>

Go to the source code of this file.

Classes

class  MyClass
 

Typedefs

typedef COROUTINE< int, int > MyCoroutine
 

Functions

 main ()
 

Typedef Documentation

typedef COROUTINE<int, int> MyCoroutine

Definition at line 6 of file coroutine_example.cpp.

Function Documentation

main ( )

Definition at line 43 of file coroutine_example.cpp.

References MyClass::Run().

43  {
44  MyClass obj;
45 
46  obj.Run();
47 
48  return 0;
49 }