Creating a task completion source for a C++ coroutine 4--Raymond Chen

Save to:
Instapaper Pocket Readability

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

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.