ADL
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 3 03:43:05 PDT 2016
On 9/3/2016 2:31 AM, Manu via Digitalmars-d wrote:
> std.algorithm is extremely simple,
That's actually a nice compliment! (Though credit for that goes to Andrei, not me.)
> it doesn't do anything except raw
> algorithm-ey stuff. It doesn't attempt to invoke functionality on the
> data it's working on.
Sure it does, usually via a lambda passed to it.
Recall that C++ ADL predates C++ lambdas by more than a decade, which may
explain why C++ has come to rely on ADL.
More information about the Digitalmars-d
mailing list