DMD 0.161 release

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Jun 20 09:53:29 PDT 2006


"Walter Bright" <newshound at digitalmars.com> wrote in message 
news:e7832r$g4h$1 at digitaldaemon.com...
> Mostly bug fixes.
>
> http://www.digitalmars.com/d/changelog.html

Oh man, those delegate literals look like it would be very possible to make 
interesting "pseudo-structures," that is, fake language constructs.  So if 
you were to define a function as

void func(void delegate() dg);

That is, the last parameter is a void delegate(), it would be an interesting 
bit of syntactic sugar to be able to write

func
{
    writefln("foo");
}

Not sure what utility this would present, but hey! 





More information about the Digitalmars-d-announce mailing list