[Issue 18254] New: std.range.tee takes the output range by value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 17 14:25:12 UTC 2018


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

          Issue ID: 18254
           Summary: std.range.tee takes the output range by value
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: jack at 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.

--


More information about the Digitalmars-d-bugs mailing list