On Fri, 01 Mar 2013 17:35:04 -0500, Andrei Alexandrescu
<[email protected]> wrote:
On 3/1/13 5:31 PM, Steven Schveighoffer wrote:
Phobos kind of refuses to treat strings like arrays of characters, it
insists on decoding.
There's no decoding in find and splitter as far as I remember.
Looking at splitter, it uses skipOver to skip over the separator, and that
seems to call R.front and R.popFront. Actually, it calls it for both the
source string and the separator.
Maybe fixing skipOver would fix the problem? Or don't call skipOver at
all, since find isn't doing decoding, why do decoding when skipping the
separator?
I still feel we need a specialized string type...
-Steve