Can I set the base class like this?

Jack jckj33 at gmail.com
Tue Jan 26 15:56:34 UTC 2021


On Tuesday, 26 January 2021 at 14:12:21 UTC, vitamin wrote:
> 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.

Thanks!


More information about the Digitalmars-d-learn mailing list