Argumnentation against external function operator overloading is unconvincing

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 23 06:58:43 PDT 2016


On Friday, September 23, 2016 13:47:06 Sai via Digitalmars-d 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.
>
> Could you please tell me what module is it? is it std.array?

It was, but they were moved to std.range.primitives some time in the last
year or two. They're still publicly imported in std.array though, so
importing std.array will work.

- Jonathan M Davis



More information about the Digitalmars-d mailing list