https://issues.dlang.org/show_bug.cgi?id=17047
Issue ID: 17047
Summary: std.algorithm.iteration.splitter should propagate
bidirectionality
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
For splitter with a range as separator, the propagation for bidirectionality
(back, popBack) is missing, see e.g.:
https://github.com/dlang/phobos/blob/3d98191ce9fee0d2bf2b2c4982242afe413e37bd/std/algorithm/iteration.d#L3839
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.
--