On 2009-08-09 11:10:48 -0400, Andrei Alexandrescu
<[email protected]> said:
It's also arguable that all functions in std.string should take
const(char)[]. Or, you know, const(T)[], since D supports encodings
other than UTF-8, despite what std.string leads you to believe.
Yah, I think they should all be parameterized so they can work with
various character widths and even encodings.
But shouldn't they work with *ranges* in general, a string being only a
specific case?
--
Michel Fortin
[email protected]
http://michelf.com/