http://d.puremagic.com/issues/show_bug.cgi?id=5201


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-11-16 12:16:03 
PST ---
I would think that you'd want character arrays and indexOf to always function
like it does in std.string - the index is the index of the array, but
comparison is done by code point rather than code unit. So, then I would think
that the correct solution would be either to special case
std.algorithm.indexOf() for all character arrays (and deprecated
std.string.indexOf()) or to make it so that it doesn't work with character
arrays and have std.string.indexOf() deal with them instead. There could be a
good reason that I haven't thought of to not to do it that way though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to