UFCS for templates

deadalnix deadalnix at gmail.com
Fri Aug 9 06:03:55 PDT 2013


On Thursday, 8 August 2013 at 17:35:02 UTC, JS wrote:
> Can we have UFCS for templates?
>
> e.g.,
>
> T New(T, A...)(A args) { }
>
>
> T t = T.New(args);
>
>
> Note, in this case, the type parameter is substituted.

What happen if the first template parameter is an alias parameter 
?


More information about the Digitalmars-d mailing list