www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17047] New: std.algorithm.iteration.splitter should propagate


          Issue ID: 17047
           Summary: std.algorithm.iteration.splitter should propagate
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greeenify gmail.com

For splitter with a range as separator, the propagation for bidirectionality
(back, popBack) is missing, see e.g.:


Moreover, there are no tests either for the bidirectionaility of splitter with
a sole element as splitter.

It might even be possible to unify both splitter implementations - they look
pretty similar.

Dec 30 2016