alias A = B; syntax

so so at so.so
Tue Oct 16 11:45:34 PDT 2012


On Tuesday, 16 October 2012 at 17:05:14 UTC, kenji hara wrote:

> The result of my challenging.
> https://github.com/D-Programming-Language/dmd/pull/1187
>
> Kenji Hara

As far as i remember, Andrei said that it was planned and the 
syntax will support templates too (like C++0x template alias). 
So, this might not be enough.

Something like:
alias vec(T) = vector!(T, allocator);


More information about the Digitalmars-d mailing list