implicit cast and overload priority

Andy Valencia dont at spam.me
Fri Feb 14 17:29:33 UTC 2025


On Friday, 14 February 2025 at 15:58:26 UTC, Paul Backus wrote:
>> void foo(long x) { }
>> void foo(ulong x) { }

So I take it that a template with a static isSigned test would be 
the way to bifurcate foo()'s behavior?

Andy



More information about the Digitalmars-d-learn mailing list