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

Jonathan M Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #2 from Jonathan M Davis <[email protected]> ---
In general, I think that it's a big mistake for anything in std.algorinthm or
any other range-based functions to support static arrays. If you want to pass a
static array to a range-based functions, then you slice it, and you get a
dynamic array, which _is_ a valid range.

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.

--

Reply via email to