std.string.join & co. do a character-by-character copy because hasLength!string is false

Vladimir Panteleev vladimir at thecybershadow.net
Fri May 27 13:43:27 PDT 2011


On Fri, 27 May 2011 22:00:35 +0300, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> Create a bug report and I'll look into it.

http://d.puremagic.com/issues/show_bug.cgi?id=6064 . Thanks!

I had a look into fixing it myself, but the changes required are not  
trivial - joiner always returns a dchar range when given narrow strings. I  
look forward to seeing your solution.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list