The series continue.
Creating a task completion source for a C++ coroutine: Failing to produce a result
by Raymond Chen
From the article:
So far, we’ve been working on building a result_holder that can hold any type of result. But what about errors?
Because maybe you have code that’s waiting for a result, and the code that’s supposed to produce the result realizes that it messed up and wants to say, “Sorry, no result today.”...
Add a Comment
Comments are closed.