C++ coroutines: Getting rid of our reference count April 16, 2021 Apr 16, 2021 04/16/21 Raymond Chen It never goes up. It only comes down.
C++ coroutines: Getting rid of our mutex April 15, 2021 Apr 15, 2021 04/15/21 Raymond Chen We can capture the progress in a single value.
Pivot points and financial numerology April 14, 2021 Apr 14, 2021 04/14/21 Raymond Chen It will or it won't. That's the beauty of it.
C++ coroutines: Making it impossible to co_await a task twice April 14, 2021 Apr 14, 2021 04/14/21 Raymond Chen Always keep moving: Make the co_await consume the task.
C++ coroutines: Tradeoffs of making the promise be the shared state April 13, 2021 Apr 13, 2021 04/13/21 Raymond Chen Are you meant to be ephemeral, or are you intended to be durable?
C++ coroutines: The lifetime of objects involved in the coroutine function April 12, 2021 Apr 12, 2021 04/12/21 Raymond Chen Follow them as they pop into existence and vanish.
C++ coroutines: Managing the reference count of the coroutine state April 9, 2021 Apr 9, 2021 04/9/21 Raymond Chen Are we done yet?
C++ coroutines: Awaiting the simple_task April 8, 2021 Apr 8, 2021 04/8/21 Raymond Chen Let me know when it's ready.
C++ coroutines: Accepting types via return_void and return_value April 7, 2021 Apr 7, 2021 04/7/21 Raymond Chen A little bit of SFINAE tweaking.
C++ coroutines: Building a result holder for movable types April 6, 2021 Apr 6, 2021 04/6/21 Raymond Chen Not that kind of movable type.