Nov 7, 2024 Post comments count6 Post likes count5 Why do I observe reads from a memory-mapped file when writing large blocks? Raymond Chen The CPU doesn't see the entire write at once.
Nov 6, 2024 Post comments count1 Post likes count1 How do I declare an operator overload for my Windows Runtime class? Raymond Chen That's not something expressible in the Windows Runtime.
Nov 5, 2024 Post comments count6 Post likes count3 What’s the difference between Display size and Screen size in the Windows 95 display control panel? Raymond Chen No meaningful difference, though others have created a difference.
Nov 4, 2024 Post comments count4 Post likes count2 On the limits of time travel in the face of undefined behavior in C Raymond Chen C imposes some constraints, but the principle is mostly still there.
Nov 1, 2024 Post comments count9 Post likes count5 On locale-aware substring matching, either case-sensitive or case-insensitive Raymond Chen It's surprisingly complicated, but fortunately, somebody has done it for you.
Oct 31, 2024 Post comments count23 Post likes count10 What has case distinction but is neither uppercase nor lowercase? Raymond Chen It has one foot in each world but belongs to neither.
Oct 30, 2024 Post comments count0 Post likes count2 I have enabled “take ownership” permission, but I still cannot obtain write access Raymond Chen Taking ownership is only one part of gaining write access.
Oct 29, 2024 Post comments count0 Post likes count1 Reverse-engineering what a “short” section is Raymond Chen The long and short of it all.
Oct 28, 2024 Post comments count1 Post likes count1 How useful is the hint passed to the std::unordered_… collections? Raymond Chen Only a little, or sometimes not at all.
Oct 25, 2024 Post comments count0 Post likes count2 How can I explicitly specialize a templated C++ constructor, follow-up notes Raymond Chen You can use a maker function, but that doesn't let you escape the problem.