[Issue 19264] byCodeUnit should compare with strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 25 15:58:05 UTC 2018


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

--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
It shouldn't matter the constancy of the original.

This should also work:

assert("hello".byCodeUnit == "hello".dup.byCodeUnit);

--


More information about the Digitalmars-d-bugs mailing list