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

Vladimir Panteleev vladimir at thecybershadow.net
Fri May 27 11:05:38 PDT 2011


Why hasLength!string is false:  
https://github.com/D-Programming-Language/phobos/blob/96941d5384a5fee302df/std/range.d#L767

Would it make sense to introduce a hasOpaqueLength oslt. to fix this?

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


More information about the Digitalmars-d mailing list