template alias parameter vs type parameter.

Daniel Nielsen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 22 14:00:10 PDT 2017


On Wednesday, 22 March 2017 at 18:12:31 UTC, Yuxuan Shui wrote:
> Hi,
>
> Is there any difference, when a type is passed into an alias 
> parameter vs into a type parameter?

alias parameters fail with builtin types, ex. 'int'.

hopefully this will be corrected one day.


More information about the Digitalmars-d-learn mailing list