https://issues.dlang.org/show_bug.cgi?id=15285

Jonathan M Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #3 from Jonathan M Davis <[email protected]> ---
Ideally, all of the string functions would at least accept ranges of
characters, even if that's limited to random-access ranges. Otherwise, code
that uses something like byCodeUnit is going to be in trouble, and arguably,
byCodeUnit should generally be favored over using strings as ranges given the
autodecoding issues.

Whether the string functions accept non-character ranges is another matter
entirely, and if we add functions like that, they really shouldn't be in
std.string.

--

Reply via email to