ADL

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 3 05:56:10 PDT 2016


On 9/3/16 12:14 PM, Timon Gehr wrote:
> On 03.09.2016 10:37, Walter Bright wrote:
>> None of the algorithms used in std.algorithm or elsewhere in Phobos have
>> this particular issue.
>
> Yes they do. It is not possible to implement the range functions as
> non-members.

Yah, but I don't see this as an issue. The non-members would need to be 
in the same module even with ADL, so it's just a clerical matter. -- Andrei



More information about the Digitalmars-d mailing list