https://issues.dlang.org/show_bug.cgi?id=17634
--- Comment #2 from [email protected] --- (In reply to b2.temp from comment #1) > "dropExactly(c).startWith(...)" would allow to find the needle > > also we can imagine a struct-based return type that doesn't break the > current code: > > struct countUntilResult() > { > ptrdiff_t pos; size_t index; > } Something like struct countUntilResult() { ptrdiff_t pos; size_t index; alias pos this; } --
