In C++/WinRT, what happens when I treat an IInspectable as or convert one to a bool

2 · Raymond Chen · Dec. 6, 2019, 3:16 p.m.
Summary
Last time, we looked at weirdness in how C++/CX treats hat pointers in a bool context. Fortunately, C++/WinRT is much less weird. The IInspectable type supports a conversion to bool which tests whether the underlying pointer is null. It also supports comparison against nullptr which tests the same thing....