The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jul 13, 2023
Post comments count
0
Post likes count
1
How to clone a Windows Runtime vector in the face of possible concurrent modification, part 2
Trying to make a generic solution.
Jul 12, 2023
Post comments count
2
Post likes count
1
How to clone a Windows Runtime vector in the face of possible concurrent modification, part 1
Backing off and retrying, but the detection is the tricky part.
Jul 11, 2023
Post comments count
0
Post likes count
2
Why does the compiler complain about a missing constructor when I’m just resizing my std::vector to a smaller size?
The compiler doesn't know that you're shrinking.
Jul 10, 2023
Post comments count
1
Post likes count
2
How to wait for multiple C++ coroutines to complete before propagating failure, concluding remarks
The things that could go wrong before you even start.
Jul 7, 2023
Post comments count
1
Post likes count
1
How to wait for multiple C++ coroutines to complete before propagating failure, finding the awaiter
Making sure to wrap the right thing.
Jul 6, 2023
Post comments count
0
Post likes count
1
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
1
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
1
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
1
How to wait for multiple C++ coroutines to complete before propagating failure, symmetric transfer
Avoiding stack build-up.