Argumnentation against external function operator overloading is unconvincing
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 22 05:51:59 PDT 2016
On 9/22/16 6:38 AM, pineapple wrote:
> The greatest offender I've found is how in phobos, arrays do not behave
> as ranges without importing the module defining their range operations.
Would make sense to move those few primitives to object.d. I've been
thinking of that a long time ago but back then there was a vague stance
that object.d shouldn't contain templates. Since then that has changed.
-- Andrei
More information about the Digitalmars-d
mailing list