On Mon Sep 19 17:44:53 2022 +0000, Nikolay Sivov wrote:
This is the same as with regular interfaces and IUnknown, except that number of methods is larger. To me it doesn't look like it saves that much. Maybe it would make sense if we had some static library with common code for these methods, that actually does something.
Imho it's actually very much worse. It's already 2x the number of methods as for IUnknown. And moreover, if you have ISomeInterface extended by some ISomeInterface2 with a single added method, ISomeInterface2 will not share the ISomeInterface vtable and will need the whole 6 method redirects from IInspectable.