Benchmark block

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 31 01:33:32 PDT 2015


On 2015-03-31 01:40, w0rp wrote:

> Why add extra syntax for what you can already do pretty nicely with a
> library?

It would be nice if D could support a generic syntax for trailing 
delegates, i.e.

benchmarks
{

}

Would be lowered to:

benchmarks({

});

Then it can be implemented as a library solution with a nice syntax that 
looks built-in.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list