Using CRTP to your advantage: Simplifying overloaded Windows Runtime method projections in C++/WinRT

1 · Raymond Chen · Dec. 8, 2021, 4:41 p.m.
C++/WinRT uses the so-called the curiously recurring template pattern, commonly known as CRTP. One of the nice features of CRTP is that the derived class method signature does not have to be a perfect match for the signature expected by the base class. The post Using CRTP to your advantage: Simplifying overloaded Windows Runtime method projections in C++/WinRT appeared first on The Old New Thing....