Dec 15, 2022 Post comments count1 Post likes count1 Inside C++/WinRT: IReference<T> Raymond Chen Reverse-engineering the usages from the code.
Dec 14, 2022 Post comments count0 Post likes count1 In C++/WinRT, how do I create or consume an IReference<T> that wraps a particular value? Raymond Chen Conversions to and from IReference.
Dec 12, 2022 Post comments count0 Post likes count1 What does it mean when the compiler tells me that promise_type: is not a member of coroutine_traits<void>? Raymond Chen Applying your understanding of the coroutine transformation.
Dec 9, 2022 Post comments count0 Post likes count2 How can I do the opposite of compare_exchange and exchange if the value is different? Raymond Chen An exchange with itself has no effect on the value.
Dec 8, 2022 Post comments count1 Post likes count1 If you’re going to wrap a Windows Runtime event, you may as well let the wrapped event source manage the token Raymond Chen It keeps the original object in control.
Dec 5, 2022 Post comments count2 Post likes count1 Instead of a C++ template parlor trick, why not just add support based on whether the header file has already been included? Raymond Chen Header file inclusion order dependencies.
Dec 2, 2022 Post comments count10 Post likes count3 C++ template parlor tricks: Using a type before it is defined Raymond Chen You can talk about hypothetical things, hoping that a real thing shows up later.
Nov 30, 2022 Post comments count1 Post likes count3 I used FILE_FLAG_SEQUENTIAL_SCAN but it didn’t seem to speed up my sequential scanning Raymond Chen It triggers prefetching, but your usage pattern may mean that prefetch doesn't mean much.
Nov 28, 2022 Post comments count0 Post likes count1 What kind of caller diagnostic information can I get from exceptions thrown by C++/WinRT and wil?, C++20 edition Raymond Chen The state of the art has moved forward slightly.
Nov 28, 2022 Post comments count8 Post likes count3 The case of the application that used thread local storage it never allocated Raymond Chen Of course it's there, isn't it? I mean, it's always been there.