On Tuesday, 12 December 2017 at 15:19:48 UTC, ketmar wrote:
p.s.: but no, i am wrong.

        foo(-42);

this is perfectly valid for `foo (uint n)`, as D converts negative ints to uints without any warnings.

so no, overloads won't fit.

hmm yes, it seems it is not possible.

Reply via email to