www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: monarchdodra gmail.com



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: -------
Oct 22 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8867


monarchdodra gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|nobody puremagic.com        |monarchdodra gmail.com


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