reddit.com: first Chapter of TDPL available for free

Michel Fortin michel.fortin at michelf.com
Sun Aug 9 09:14:06 PDT 2009


On 2009-08-09 11:10:48 -0400, Andrei Alexandrescu 
<SeeWebsiteForEmail at erdani.org> 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
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list