Use class template as a type

Jerry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 29 08:29:21 PST 2016


On Tuesday, 29 November 2016 at 15:56:23 UTC, Jerry wrote:
> abstract class MyClass {}
> abstract class MyClassImpl(T)


Oops, forgot MyClassImpl should extend from MyClass.

abstract class MyClassImpl(T) : MyClass {
...
}



More information about the Digitalmars-d-learn mailing list