C++ UFCS update
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Sat Feb 20 19:03:25 PST 2016
On Sunday, 21 February 2016 at 00:52:13 UTC, bitwise wrote:
> Am I crazy, or is this paper proposing the exact opposite of
> what would be needed to do chaning of ranges or extension
> methods?
That is a good thing.
> 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?
Generic code cannot assume they exist. E.g. cbegin(x)
More information about the Digitalmars-d
mailing list