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
cppcoro::generator<std::optional<std::futurestd::string>> object_list (std::string* input) { ... co_yield {}; ... while(...==true) { co_yield (std::async(std::launch::async, = {return HttpGetString_convertedTo_stdString(target); })) } }
int main() { for (auto element : object_list(a) { //Object_list showing error in visual studio } }
The text was updated successfully, but these errors were encountered:
I am not a very good github user please forgive my formatting, I was exploring on my own and wanted to do something like this and I can't fix it
Sorry, something went wrong.
nvm, I feel like shared_future is needed for supporting this, please close the repo after reading it
No branches or pull requests
cppcoro::generator<std::optional<std::futurestd::string>> object_list (std::string* input)
{
...
co_yield {};
...
while(...==true)
{
co_yield (std::async(std::launch::async, = {return HttpGetString_convertedTo_stdString(target); }))
}
}
int main()
{
for (auto element : object_list(a)
{
//Object_list showing error in visual studio
}
}
The text was updated successfully, but these errors were encountered: