[Issue 14845] [REG 2.068] some rangified Char[] functions no longer take a static array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 30 17:12:26 PDT 2015


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Martin Nowak from comment #0)
> The only fully compatible overload is (T, size_t n)(ref T[n] s), which
> should forward to the rangified function.

The trouble with such overloads is they produce a new instance for every
different array size. This can result in an unnoticed blizzard of bloat.

I think this should be marked as "wontfix".

--


More information about the Digitalmars-d-bugs mailing list