If I had my way

Mehrdad wfunction at hotmail.com
Mon Dec 12 21:17:10 PST 2011


On 12/12/2011 8:25 PM, Jonathan M Davis wrote:
> There have been a variety of suggestions on how to do it - including one
> similar to what you're suggesting with the this keyword. However, it still
> leaves the problem of disambiguation that I mentioned. What happens when
> there's a free function and a member function with the same name and same
> parameters? Which one gets called?
Member functions always take precedence in C#, and it works perfectly 
well. There's really no problem in practice.


More information about the Digitalmars-d mailing list