Jun 28, 2024 2 1 Writing a remove_all_pointers type trait, part 2 Raymond Chen Factoring out the type resolution to after the dangerous part.
Jun 27, 2024 3 1 Writing a remove_all_pointers type trait, part 1 Raymond Chen Delaying the expansion to avoid infinite recursion.
Jun 26, 2024 2 0 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 24, 2024 7 0 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 1 0 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 0 2 How to convert between different types of counted-string string types Raymond Chen Looking for constructors that take a character count.
Jun 19, 2024 12 1 On the sadness of treating counted strings as null-terminated strings Raymond Chen You're throwing away perfectly good data, there.
Jun 18, 2024 9 0 The time smart quotes prevented the entire Office division from committing code Raymond Chen Breaking your tools with your tools.