Mountain  1.0.0
Simple C++ 2D Game Framework
coroutine.hpp File Reference

Defines the Coroutine class. More...

#include <chrono>
#include <coroutine>
#include <functional>
#include <unordered_map>
#include "Mountain/core.hpp"
#include "Mountain/utils/guid.hpp"
+ Include dependency graph for coroutine.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Mountain::Coroutine
 Wrapper around C++20 Coroutines. More...
 
struct  Mountain::Coroutine::promise_type
 Promise type for C++20 coroutines. More...
 

Namespaces

 Mountain
 Contains all declarations of the Mountain Framework.
 

Typedefs

template<typename... Args>
using Mountain::CoroutineFunction = std::function< Coroutine(Args...)>
 Coroutine function prototype.
 

Detailed Description

Defines the Coroutine class.

Definition in file coroutine.hpp.