|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
协程支持 更多...
#include "NeForce/core/config/c++config.hpp"#include "NeForce/core/functional/hash.hpp"#include <coroutine>类 | |
| struct | neforce::coroutine_traits< Res, Args > |
| 协程特征主模板 更多... | |
| struct | neforce::hash< coroutine_handle< Promise > > |
| coroutine_handle的哈希特化 更多... | |
| struct | neforce::suspend_always |
| 始终暂停的等待器 更多... | |
| struct | neforce::suspend_never |
| 从不暂停的等待器 更多... | |
类型定义 | |
| template<typename Promise = void> | |
| using | neforce::coroutine_handle = std::coroutine_handle<Promise> |
| 协程句柄 | |
| using | neforce::noop_coroutine_promise = std::noop_coroutine_handle |
| 空操作协程的promise类型别名 | |
| using | neforce::noop_coroutine_handle = coroutine_handle<noop_coroutine_promise> |
| 空操作协程句柄类型别名 | |
函数 | |
| noop_coroutine_handle | neforce::noop_coroutine () noexcept |
| 获取空操作协程句柄 | |