www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18255] New: std.string.translate takes the output range by

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

          Issue ID: 18255
           Summary: std.string.translate 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 2018