On Wednesday, 4 December 2013 at 17:11:07 UTC, Walter Bright wrote:
2. was the motivation for ADL (aka "Koenig Lookup")

There was no way I was going to put ADL into D :-)
---
// lib.d
struct Struct {}
// more.d
import lib.d
int front(Struct s) {}
void popFront(ref Struct s) {}
// main.d
import lib;
import more;

import std.range;

pragma(msg, isInputRange!(Struct)); // outputs 'false'
void main() {}
---

Any plans/ways to make external methods work here?

Reply via email to