Can I set the base class like this?

vitamin vit at vit.vit
Tue Jan 26 14:12:21 UTC 2021


On Tuesday, 26 January 2021 at 04:39:07 UTC, Jack wrote:
> Can I pass the base class type thought template parameter? 
> something like this:
>
> [...]

You have it almost right:

class C(alias T) //....

Template is not type but symbol.


More information about the Digitalmars-d-learn mailing list