Summary: std.range assumeSorted and SortedRange!() don't work
                    with immutables
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos

--- Comment #0 from Austin Hastings <> 2010-10-04 15:52:36 
PDT ---
The assumeSorted and SortedRange templates cannot work with immutable data.

Apparently, one requirement for being sorted is supporting .save. The
SortedRange!().save as written uses typeof() to copy the type of the input,
without stripping off immutability.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to