The worst overload system that actualy works

Timon Gehr timon.gehr at gmx.ch
Mon Dec 21 18:45:20 UTC 2020


On 21.12.20 17:59, Basile B. wrote:
> On Monday, 21 December 2020 at 16:48:27 UTC, Timon Gehr wrote:
>> On 21.12.20 14:35, Basile B. wrote:
>>> Overloads can be confusing because of implict conversions and 
>>> promotion rules.
>>> So here are the explicit overloads[1]. Note that there is no plan to 
>>> propose this for D ;)... destroy.
>>> ...
>> ...
> 
> yeah but I think the way the overloads are tried is different.

So what you don't mean to propose for D is to try overloads in order, 
ignoring implicit conversions. Makes sense.


More information about the Digitalmars-d mailing list