Jun 28, 2024 Post comments count11 Post likes count3 2024 mid-year link clearance Raymond Chen Emptying out the junk drawer.
Jun 28, 2024 Post comments count2 Post likes count2 Writing a remove_all_pointers type trait, part 2 Raymond Chen Factoring out the type resolution to after the dangerous part.
Jun 27, 2024 Post comments count3 Post likes count2 Writing a remove_all_pointers type trait, part 1 Raymond Chen Delaying the expansion to avoid infinite recursion.
Jun 26, 2024 Post comments count2 Post likes count0 Is there a built-in way in C++/WinRT to get the string name for a Windows Runtime enum? Raymond Chen No, and maybe you don't want to.
Jun 25, 2024 Post comments count0 Post likes count0 Microspeak: Fun fork Raymond Chen A place to party.
Jun 24, 2024 Post comments count7 Post likes count0 Finding a specific value in a sequence of integers that changes by at most 1 Raymond Chen It's basically a discrete version of the intermediate value theorem.
Jun 21, 2024 Post comments count1 Post likes count0 The Windows Runtime winrt::hstring and the C++ std::wstring are inter-assignable Raymond Chen Just assign them over, no cermony necessary.
Jun 20, 2024 Post comments count0 Post likes count2 How to convert between different types of counted-string string types Raymond Chen Looking for constructors that take a character count.
Jun 19, 2024 Post comments count12 Post likes count1 On the sadness of treating counted strings as null-terminated strings Raymond Chen You're throwing away perfectly good data, there.
Jun 18, 2024 Post comments count9 Post likes count0 The time smart quotes prevented the entire Office division from committing code Raymond Chen Breaking your tools with your tools.