C++ coroutines: Managing the reference count of the coroutine state--Raymond Chen
The series continue.
C++ coroutines: Managing the reference count of the coroutine state
by Raymond Chen
From the article:
Last time, we hooked up the co_await of the simple_task and we had a brief glimpse into the the management of the reference count on the promise (and therefore also the coroutine state). Today we’ll fill in the rest of the story...