dmd 1.042 and 2.027 releases
Nick Sabalausky
a at a.a
Wed Apr 1 11:36:00 PDT 2009
"Nick Sabalausky" <a at a.a> wrote in message
news:gr09qr$1793$1 at digitalmars.com...
>
> Yes, I'm wondering if this will finally let us do something along the
> lines of:
>
> template Foo()
> {
> alias "blah blah" this;
> // Was: const char[] Foo = "blah blah";
> }
>
Or, perhaps more likely, wondering if it'll let us do something like this:
template Foo(T)
{
// Was: alias Bar!(T) Foo;
alias Bar!(T) this;
}
More information about the Digitalmars-d-announce
mailing list