[Issue 13981] std.algorithm: inconsistent handling of static arrays

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 22 08:35:35 PDT 2015


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

Jack Stouffer <jack at jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack at jackstouffer.com

--- Comment #3 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to Jonathan M Davis from comment #2)
> So, we either need to look at removing support for static arrays for any
> functions in std.algorithm which support them, or we need to explicitly
> document the cases where they are supported.

Removing support, even though it breaks something, would probably be the best
option here. Supporting static arrays in any form in range based code is just
confusing.

--


More information about the Digitalmars-d-bugs mailing list