Interfaces with structs...?

Adam D. Ruppe destructionator at gmail.com
Thu Jul 5 11:23:53 PDT 2012


I just had a wild idea... struct A : static Interface {}

the static means it checks for the functions but doesn't
do any runtime polymorphism.


More information about the Digitalmars-d-learn mailing list