Aliasing of template results
Denis Shelomovskij
verylonglogin.reg at gmail.com
Tue Jan 24 14:32:38 PST 2012
22.01.2012 22:33, Andrej Mitrovic пишет:
> A while ago there was a suggestion by Andrei to incorporate this sort of syntax:
>
> template ElementType(T : T[])
> {
> alias ElementType = T;
> }
>
> struct Foo(T)
> {
> alias Type = T;
> }
>
> I think people agreed it was a nice syntax, but I don't know if anyone
> tried to implement it.
Personally I don't like current Eponymous Template syntax. I have no
claim to Alias syntax.
More information about the Digitalmars-d
mailing list