dmd 2.029 release

Walter Bright newshound1 at digitalmars.com
Mon Apr 20 02:12:16 PDT 2009


bearophile wrote:
> BCS Wrote:
>> Cool template function literals sounds interesting
> 
> May I have one example of them?
> I am looking in the docs, but I am not finding anything...

void foo(alias f)()
{
     f(3, 4);
}

foo!((x,y){return x * y;))();


More information about the Digitalmars-d-announce mailing list