"Andrej Mitrovic" <[email protected]> wrote in message news:[email protected]... > The only problem is I can't seem to make it static: > static u = (int a, int b) => cast(ubyte)uniform(a, b);
auto u = function (int a, int b) => cast(ubyte)uniform(a, b); Should do it.
