[Issue 16073] Ranges without opDollar not supported

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Dec 24 06:49:36 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16073

--- Comment #8 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to Andrei Alexandrescu from comment #7)
> I think we should require opDollar to be implemented instead.

That would be a breaking change, as suddenly hasLength would fail for lots of
user types.

--


More information about the Digitalmars-d-bugs mailing list