[Issue 8867] New: splitter(R1, X) strong requirements, weak support.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 22 04:11:14 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8867

           Summary: splitter(R1, X) strong requirements, weak support.
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2012-10-22 04:11:09 PDT ---
The requirements for splitter(R, V) are that both R1 hasLength and that it be
sliceable. Ditto for splitter!condition(R).

The requirements for splitter(R1, R2) are that both R1 and R2 define the member
length. That both R1 and R2 be sliceable.

This restricts both from operating on infinite ranges.

Splitter should be relatively well implementable with only Forward ranges.

Also, none have any *actual* template restrictions

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list