C++ coroutines: Building a result holder for movable types--Raymond Chen

Save to:
Instapaper Pocket Readability

The series continue.

C++ coroutines: Building a result holder for movable types

by Raymond Chen

From the article:

One of the pieces we need for the simple_promise we use to construct a coroutine is what we have been calling the “result holder”. This is basically a variant that starts out empty, and can atomically transition to holding either the result of a successful coroutine, an exception pointer for a failed coroutine...

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.