Identity of interfaces (or not)

Jason House jason.james.house at gmail.com
Wed Dec 3 09:20:25 PST 2008


BCS wrote:
 
> why not make
>   Ia == Ib
> into
>   cast(Object)Ia == cast(Object)Ib
> ?

Interfaces are not always castable to Object.  At a minimum, it fails for COM and extern(C++)



More information about the Digitalmars-d mailing list