www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - template alias parameter vs type parameter.

reply Yuxuan Shui <yshuiv7 gmail.com> writes:
Hi,

Is there any difference, when a type is passed into an alias 
parameter vs into a type parameter?
Mar 22 2017
parent Daniel Nielsen <daniel.nielsen.se gmail.com> writes:
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.
Mar 22 2017