Re: template alias parameter vs type parameter.

2017-03-22 Thread Daniel Nielsen via Digitalmars-d-learn

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.


template alias parameter vs type parameter.

2017-03-22 Thread Yuxuan Shui via Digitalmars-d-learn

Hi,

Is there any difference, when a type is passed into an alias 
parameter vs into a type parameter?