C++ UFCS update
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Sat Feb 20 17:09:33 PST 2016
On Sunday, 21 February 2016 at 00:52:13 UTC, bitwise wrote:
> I don't get how it would be useful at all to type f(x, y) and
> have the compiler call x.f(y) for me. Why would I ever not want
> to just use member invocation syntax?
One reason could be connecting to OO based code that's written
purely in C (but doesn't have the member invocation). I think a
good portion of XWindows was written that way.
Beyond that I'm not sure.
More information about the Digitalmars-d
mailing list