Implementing interfaces using alias this

Balagopal Komarath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 14 06:09:29 PDT 2017


On Wednesday, 14 June 2017 at 11:40:02 UTC, ketmar wrote:
> interfaces *require* a full-featured class, with VMT, and some 
> hidden pointers to support hidden interface machinery.

I don't think that is the problem here. The type Test!Duck is a 
class and that type is the one implementing the interface.



More information about the Digitalmars-d-learn mailing list