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

ZombineDev <[email protected]> changed:

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

--- Comment #1 from ZombineDev <[email protected]> ---
See http://dlang.org/phobos/std_range_primitives#hasLength.
Take provides a length property only if for its argument hasLength return true.

If you know that you're only dealing with ASCII, you can cast the string to
ubyte[], see: http://dpaste.dzfl.pl/fe93a68a3945.

--

Reply via email to