Something like ADL from C++?

Walter Bright newshound2 at digitalmars.com
Thu Dec 12 06:07:05 UTC 2024


On 12/3/2024 6:51 PM, Timon Gehr wrote:
> I dislike function-local import semantics quite a bit as they do not follow the 
> well-thought-out overloading rules that apply to other imports.

I don't know if anyone remembers, but there was a huge debate about this in the 
early days. I had implemented local import rules just like all the other rules, 
but everyone else deemed that unintuitive, and so we now have a difficult to 
explain mechanism that is intuitive.



More information about the Digitalmars-d mailing list