The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

Jul 6, 2023
Post comments count
0
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, wrapping the awaitable

Intercepting the exception on the front side.

Jul 5, 2023
Post comments count
2
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, preallocating the coroutine frame

Avoiding dynamic memory allocation.

Jul 4, 2023
Post comments count
2
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, memory allocation failure

There's no good way to report the failure, so we just have to give up.

Jul 3, 2023
Post comments count
0
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, symmetric transfer

Avoiding stack build-up.

Jun 30, 2023
Post comments count
3
Post likes count
2
2023 mid-year link clearance

The tradition continues.

Jun 30, 2023
Post comments count
1
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, custom promise

Taking things into our own hands.

Jun 29, 2023
Post comments count
0
Post likes count
1
How to wait for multiple C++ coroutines to complete before propagating failure, peeling away at a tuple

Iterating over a tuple recursively.

Jun 28, 2023
Post comments count
1
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, false hope

Trying to iterate over a pack.

Jun 27, 2023
Post comments count
0
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, unhelpful lambda

The usual trick doesn't work.