[Issue 12470] std.array.replace does not work with inout(char)[]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 26 22:51:34 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12470


Ali Cehreli <acehreli at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acehreli at yahoo.com


--- Comment #1 from Ali Cehreli <acehreli at yahoo.com> 2014-03-26 22:51:32 PDT ---
Still, that code cannot be compiled, right?

inout is a wildcard that should be able to take place of const and immutable
but std.array.replace cannot work with const(char)[] nor with
immutable(char)[].

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list