The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

May 17, 2024
Post comments count 0
Post likes count 1

Why can’t I find the injected name of a templated class’s templated base class?

Raymond Chen

The compiler needs help finding it because it's not findable at the time the template is parsed.

May 16, 2024
Post comments count 1
Post likes count 2

Pulling a single item from a C++ parameter pack by its index

Raymond Chen

Combining a few tools to make a new tool.

May 15, 2024
Post comments count 9
Post likes count 2

Building the most efficient device selector query that selects no devices

Raymond Chen

Looking for the most efficient way of rejecting everything.

May 14, 2024
Post comments count 1
Post likes count 5

The confidential coffee maker was not the only source of shenanigans at the IBM Boca office

Raymond Chen

The culture (and weather) clash continues.

May 13, 2024
Post comments count 2
Post likes count 5

Before you try to change something, make sure you can change nothing

Raymond Chen

Nobody touch anything.

May 10, 2024
Post comments count 4
Post likes count 7

An informal comparison of the three major implementations of std::string

Raymond Chen

Pros and cons.

May 9, 2024
Post comments count 0
Post likes count 2

Asking for a DispatcherQueue from a GUI thread you created

Raymond Chen

Grafting a DispatcherQueue onto an existing thread.

May 8, 2024
Post comments count 3
Post likes count 1

Awaiting a set of handles with a timeout, part 7: Just doing it one at a time

Raymond Chen

A simpler version with its own quirks.

May 7, 2024
Post comments count 7
Post likes count 1

Awaiting a set of handles with a timeout, part 6: Capturing the handles efficiently

Raymond Chen

SFINAE'ing the case of a random-access(ish) iterator.