Martin Nowak is officially MIA

Timon Gehr timon.gehr at gmx.ch
Fri Mar 28 23:07:24 UTC 2025


On 3/28/25 23:51, user1234 wrote:
> On Thursday, 27 March 2025 at 22:04:53 UTC, sfp wrote:
>>
>> I'd like to understand what impediment there is to having "free" 
>> operator overloading.
> 
> 1/ A random public import in an dependency chain you dont master may 
> unexpectedly change the expected behavior. Think to what's defined in a 
> DUB package for example.
> ...

The situation is the same as with any UFCS call...

> 2/ Costly for a compiler. The compiler needs in each scope to have a 
> list of opovers.

No, it does not have to do that.


More information about the Digitalmars-d mailing list