Apr 5, 2021 Post comments count0 Post likes count1 C++ coroutines: Making the promise itself be the shared state, the outline Raymond Chen Now we do it.
Apr 2, 2021 Post comments count1 Post likes count1 C++ coroutines: Making the promise itself be the shared state, the inspiration Raymond Chen Just be it.
Apr 1, 2021 Post comments count0 Post likes count1 C++ coroutines: What happens if an exception occurs in my return_value? Raymond Chen What happens if you can't save the result?
Mar 31, 2021 Post comments count0 Post likes count3 C++ coroutines: The initial and final suspend, and improving our return_value method Raymond Chen Why would you stop before you start?
Mar 30, 2021 Post comments count3 Post likes count1 C++ coroutines: Basic implementation of a promise type Raymond Chen Filling in the diagram with code.
Mar 29, 2021 Post comments count0 Post likes count1 C++ coroutines: The mental model for coroutine promises Raymond Chen We start by drawing pictures.
Mar 26, 2021 Post comments count0 Post likes count1 Creating a task completion source for a C++ coroutine: Failing to produce a result Raymond Chen Stowing an exception.
Mar 25, 2021 Post comments count4 Post likes count1 Creating a task completion source for a C++ coroutine: Producing nothing Raymond Chen Nothing is produced, but you still want to know that the production completed.
Mar 24, 2021 Post comments count0 Post likes count1 Creating a task completion source for a C++ coroutine: Producing a result with references Raymond Chen Carefully preserved to prevent decay.
Mar 23, 2021 Post comments count3 Post likes count1 Creating a task completion source for a C++ coroutine: Producing a result Raymond Chen Let's call it a result holder.