D should have a root interface
Jarrett Billingsley
kb3ctd2 at yahoo.com
Mon Jul 28 19:28:26 PDT 2008
"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.
More information about the Digitalmars-d
mailing list