Inside STL: The vector August 2, 2023 Aug 2, 2023 08/2/23 Raymond Chen A contiguous memory block, reallocated as necessary.
Inside STL: The pair and the compressed pair August 1, 2023 Aug 1, 2023 08/1/23 Raymond Chen Two fields in one object, how hard can it be?
Misinterpreting the misleadingly-named STATUS_STACK_BUFFER_OVERRUN July 31, 2023 Jul 31, 2023 07/31/23 Raymond Chen The subcode tells you why we stopped executing, and it's rarely because of a stack buffer overflow.
How to split off an older copy of a file while preserving git line history July 28, 2023 Jul 28, 2023 07/28/23 Raymond Chen Variation on a theme.
Perfect forwarding forwards objects, not braced things that are trying to become objects July 27, 2023 Jul 27, 2023 07/27/23 Raymond Chen Before you can forward something, it needs to be a something.
On the various ways of creating Windows Runtime delegates in C++/WinRT and C++/CX July 26, 2023 Jul 26, 2023 07/26/23 Raymond Chen Comparing and contrasting.
Before you try to do something, make sure you can do nothing July 25, 2023 Jul 25, 2023 07/25/23 Raymond Chen If you can't do nothing, then don't expect to be able to do something.
Why does IAsyncAction or IAsyncOperation.GetResults() produce a E_ILLEGAL_METHOD_CALL exception? July 24, 2023 Jul 24, 2023 07/24/23 Raymond Chen You're asking too soon.
How to clone a Windows Runtime map in the face of possible concurrent modification, part 3 July 21, 2023 Jul 21, 2023 07/21/23 Raymond Chen Doing it one more time, for C++/CX.