|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
生成器的输入迭代器 更多...
#include <generator.hpp>
Public 成员函数 | |
| iterator ()=default | |
| 默认构造函数 | |
| iterator (coroutine_handle< promise_type > h) | |
| 从协程句柄构造 | |
| iterator & | operator++ () |
| 前置递增,恢复协程获取下一个值 | |
| void | operator++ (int) |
| 后置递增 | |
| T & | operator* () const noexcept |
| 解引用,获取当前值 | |
| T * | operator-> () const noexcept |
| 箭头操作符 | |
| bool | operator== (const iterator &other) const noexcept |
| 相等比较 | |
| bool | operator!= (const iterator &other) const noexcept |
| 不等比较 | |
Public 属性 | |
| coroutine_handle< promise_type > | handle |
| 协程句柄 | |
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |