D should have a root interface
JAnderson
ask at me.com
Mon Jul 28 20:56:06 PDT 2008
Jarrett Billingsley wrote:
> "Neil Vice" <sardonicpresence at gmail.com> wrote in message
> news:g6lstt$2qi4$1 at digitalmars.com...
>
>> Can not structs implement interfaces? Should they be implicitly castable
>> to Object?
>
> It's not possible, but I swear I remember W mentioning this sometime. I
> can't seem to find when he said it though. It might be something that's
> still in development for D2, but I also remember him saying something about
> structs that implement interfaces wouldn't be able to be cast to those
> interface references, so I'm not sure what purpose it'd serve.
>
>
Check out the D conference Part 2 of Walter and Andrei talk (at 34m).
http://d.puremagic.com/conference2007/speakers.html
Its mainly for templates though. Kinda concept like.
-Joel
More information about the Digitalmars-d
mailing list