[Issue 14605] New: RefAppender fails isOutputRange

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 18 13:12:52 PDT 2015


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

          Issue ID: 14605
           Summary: RefAppender fails isOutputRange
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: ag0aep6g at gmail.com

----
import std.range: isOutputRange;
import std.array: Appender, RefAppender;
static assert(isOutputRange!(Appender!(int[]), int)); /* passes */
static assert(isOutputRange!(RefAppender!(int[]), int)); /* fails */
----

Pull request on the way.

--


More information about the Digitalmars-d-bugs mailing list