Sep 30, 2024 Post comments count3 Post likes count0 Pulling a single item from a C++ parameter pack by its index, remarks Raymond Chen Why such a complicated way to pull the type from the pack?
Sep 27, 2024 Post comments count3 Post likes count5 The case of the crash when destructing a std::map Raymond Chen Who is corrupting the map?
Sep 26, 2024 Post comments count3 Post likes count2 If you’re going to specify the LVS_SORTASCENDING or LVS_SORTDESCENDING style, you had better be telling the truth Raymond Chen Because the listview control uses it to optimize searching.
Sep 25, 2024 Post comments count1 Post likes count2 Another example of the Windows Runtime interop pattern: Using the UserConsentVerifier from a Win32 program Raymond Chen Following the standard pattern.
Sep 24, 2024 Post comments count3 Post likes count1 The UserConsentVerifier confirms that the user is there, but it doesn’t protect any data Raymond Chen Is that really you?
Sep 23, 2024 Post comments count6 Post likes count1 Going beyond the empty set: Embracing the power of other empty things Raymond Chen Just because there's nothing in it doesn't mean it's not valid.
Sep 20, 2024 Post comments count5 Post likes count2 How can I check that all the changes in a git branch have been cherry-picked or rebased into its upstream branch? Raymond Chen You can pretend to merge it and see if anything happens.
Sep 19, 2024 Post comments count0 Post likes count4 My window has the WS_EX_NOACTIVATE extended style, but it got activated anyway Raymond Chen Well, at least it wasn't activated by a click.
Sep 18, 2024 Post comments count6 Post likes count2 More on the mysterious [default_interface] attribute in Windows Runtime classes Raymond Chen Forcing you to make a choice.
Sep 17, 2024 Post comments count1 Post likes count2 It rather involved being on the other side of this airtight hatchway: Posting completions to somebody else’s I/O completion port Raymond Chen If you have gained access to it, then that was the problem.