<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 4 Dec 2024 at 08:16, Walter Bright via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Koenig lookup? I ran away, far away, from that, after implementing it for C++.<br>
<br>
It's a nightmare.<br></blockquote><div><br></div><div>So what do you suggest?</div><div>UFCS makes this pattern more attractive than ever, but our lookup rules inhibit any practical application.</div><div>The problem is essentially that a more-local import or singular declaration shadows an entire overload set from a less-local scope, rather than merging with it.<br></div></div></div>