[Issue 16073] Ranges without opDollar not supported

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Dec 24 07:08:37 PST 2016


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

greenify <greeenify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify at gmail.com

--- Comment #10 from greenify <greeenify at gmail.com> ---
> All of these useless options left to sloppy range implementations don't bring value.

This has probably been proposed before, but what about letting the compiler
insert an opDollar alias if length is defined? This should greatly help to
avoid sloppy implementation differences and one can still opt to use the
opDollar overloads for superior performance.

--


More information about the Digitalmars-d-bugs mailing list