C++ UFCS update

Dejan Lekic via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 7 03:22:13 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

Who is talking about C++?? `->` I was talking about is completely 
different thing from what `->` in C++. It would/should be 
semantically different from `.` in D and `->` in C++.


More information about the Digitalmars-d mailing list