Are there any plans to have global operator overloading in D?
It would be terribly useful with ranges, since std.array already define range
primitives for arrays, I tried to implement array primitives to ranges the same
way, ie:
---
bool opEquals(T, U)(T t, U, u) if(isInputRange!T
Jeremie Pelletier wrote:
Are there any plans to have global operator overloading in D?
It would be terribly useful with ranges, since std.array already define range
primitives for arrays, I tried to implement array primitives to ranges the same
way, ie:
---
bool opEquals(T, U)(T t, U, u) if
Andrei Alexandrescu Wrote:
> Jeremie Pelletier wrote:
> > Are there any plans to have global operator overloading in D?
> >
> > It would be terribly useful with ranges, since std.array already define
> > range primitives for arrays, I tried to implement array primiti