RFC: Value range propagation for if-else

"Nordlöw" via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 22 14:07:14 PDT 2014


Correction:

It should of course be

auto pow(T)(T arg, uint n)
{
     enum vr = __traits(valueRange, n);
     ....
}


More information about the Digitalmars-d mailing list