|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
协程支持 更多...
类 | |
| struct | coroutine_traits< Res, Args > |
| 协程特征主模板 更多... | |
| struct | hash< coroutine_handle< Promise > > |
| coroutine_handle的哈希特化 更多... | |
| struct | suspend_always |
| 始终暂停的等待器 更多... | |
| struct | suspend_never |
| 从不暂停的等待器 更多... | |
类型定义 | |
| template<typename Promise = void> | |
| using | coroutine_handle = std::coroutine_handle<Promise> |
| 协程句柄 | |
| using | noop_coroutine_promise = std::noop_coroutine_handle |
| 空操作协程的promise类型别名 | |
| using | noop_coroutine_handle = coroutine_handle<noop_coroutine_promise> |
| 空操作协程句柄类型别名 | |
函数 | |
| noop_coroutine_handle | noop_coroutine () noexcept |
| 获取空操作协程句柄 | |