why can't structs implement interfaces?

Rory McGuire rjmcguire at gmail.com
Wed Nov 25 01:59:59 PST 2009


"Saaa" <empty at needmail.com> wrote:
 
> struct S : Pos {}
> Why is this not possible? 
> 
> 
> 

Why do you want to use a struct for that, rather than a class?



More information about the Digitalmars-d-learn mailing list