typeid() broken for interfaces?

Jacob Carlborg doob at me.com
Mon Dec 3 07:52:24 PST 2012


On 2012-12-03 16:51, Jacob Carlborg wrote:

> Because Object is the root of the class hierarchy. That's how it works
> in Java, for example. It's just because of these COM interfaces, that
> are not D interfaces, that we have this behavior.

Note, I'm not saying that an interface should be implicitly converted to 
any class, only to Object.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list