We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这个支持协程迭代器吗?类似 boost 的 coroutine 的协程迭代器
void foo2(boost::coroutines2::coroutine<int>::pull_type & sink) { for (auto val : sink) { std::cout << "retrieve " << val << "\n"; } } int main(){ boost::coroutines2::coroutine<int>::push_type source(foo); for (int i = 0; i < 10; i++) { source(i); } return 0; }
想要一个这样的功能
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个支持协程迭代器吗?类似 boost 的 coroutine 的协程迭代器
想要一个这样的功能
The text was updated successfully, but these errors were encountered: