On Tue, 16 Oct 2012 20:45:34 +0200 "so" <[email protected]> wrote:
> 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); I think we can save that as a separate enhancement, especially since Walter has said he wants to do the same thing for variables, too (or at least enum manifest constants, anyway): http://forum.dlang.org/thread/[email protected]?page=7#post-jok8e6:24k13:241:40digitalmars.com
