C++ UFCS update

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 2 12:02:26 PST 2016


On Wednesday, 2 March 2016 at 15:57:41 UTC, Piotrek wrote:
> On Wednesday, 2 March 2016 at 13:29:03 UTC, Dejan Lekic wrote:
>> I am not sure I agree with this. "->" will make it *visible* 
>> what is going on, while "." can mean many things, and I would 
>> have to investigate what .something in part of a chain does. 
>> Right?
>
> Are you sure that "->" is obvious in C++? I ask because it can 
> mean many things, not mentioning it can be overloaded!
>
> Piotrek

Especially since its overloading rules are different from regular 
overload rules.



More information about the Digitalmars-d mailing list