"David Nadlinger" <s...@klickverbot.at> wrote in message 
news:jhbdnb$21sb$1...@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 
> anyway?
>
> David

Yes, it's just a way to force it. 


Reply via email to