The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Feb 26, 2025
Post comments count 0
Post likes count 1

C++/WinRT implementation inheritance: Notes on winrt::implements, part 6

Raymond Chen

Using CRTP to delegate the method.

Feb 25, 2025
Post comments count 0
Post likes count 1

C++/WinRT implementation inheritance: Notes on winrt::implements, part 5

Raymond Chen

When the base class isn't self-contained.

Feb 24, 2025
Post comments count 0
Post likes count 1

C++/WinRT implementation inheritance: Notes on winrt::implements, part 4

Raymond Chen

Simple inheritance of a self-contained <CODE>implements</CODE>.

Feb 21, 2025
Post comments count 9
Post likes count 1

C++/WinRT implementation inheritance: Notes on winrt::implements, part 3

Raymond Chen

Discovering the legal inheritance structures for <CODE>winrt::<WBR>implements</CODE>.

Feb 20, 2025
Post comments count 0
Post likes count 1

C++/WinRT implementation inheritance: Notes on winrt::implements, part 2

Raymond Chen

Untangling <CODE>unwrap_<WBR>implements_t</CODE>.

Feb 19, 2025
Post comments count 0
Post likes count 3

C++/WinRT implementation inheritance: Notes on winrt::implements, part 1

Raymond Chen

A closer look at the parameters to the <CODE>implements</CODE> template.

Feb 18, 2025
Post comments count 4
Post likes count 7

Your statement is now available, just two hidden flyouts and five clicks away

Raymond Chen

Beware of the leopard.

Feb 17, 2025
Post comments count 7
Post likes count 7

API design note: Beware of adding an “Other” enum value

Raymond Chen

What are you going to do when you add a new kind?

Feb 14, 2025
Post comments count 3
Post likes count 3

Investigating an argument-dependent lookup issue and working around it

Raymond Chen

Picking apart the language specification.