ADL

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 3 03:35:51 PDT 2016


On 9/3/2016 3:11 AM, Timon Gehr wrote:
> If ADL is done as a fallback, then it is only slower in those cases where it is
> either actually used,


That isn't how it works in C++. It's done right up front in finding the 
candidates for overloading, not as a fallback.

Given Manu's other posts where he wants a generic template to be used as the 
fallback, I don't think ADL as a fallback will work for him, either.


More information about the Digitalmars-d mailing list