The One-Letter Nested Function - a sample article for some kindof D "gems" website
yebblies at nospamgmail.com
Mon Feb 13 08:45:05 PST 2012
"David Nadlinger" <see at klickverbot.at> wrote in message
news:jhbdnb$21sb$1 at digitalmars.com...
>> auto u = function (int a, int b) => cast(ubyte)uniform(a, b);
>> Should do it.
> I know it currently isn't, but shouldn't this be inferred as per TDPL
Yes, it's just a way to force it.
More information about the Digitalmars-d