www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18253] New: std.array.replaceInto takes the output range by

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

          Issue ID: 18253
           Summary: std.array.replaceInto takes the output range by value
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: jack jackstouffer.com

Should be auto ref, and a note should be added to the docs saying that passing
by ref should be the default in user code.

--
Jan 17