[Issue 10203] std.string.toUpperInPlace is... not in place

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 21 14:13:20 PDT 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #5 from bearophile_hugs at eml.cc 2013-09-21 14:13:19 PDT ---
(In reply to comment #2)

> It seems to me that, overall, toLowerInPlace is a function that is broken, that
> cannot respect the specs it promises, and violates the principal of least
> surprise in regards to behavior.
> 
> I think it should either be tagged with a massive red unsafe, or deprecated.

Even if it's impossible for Unicode strings, I'd like to keep a version of it
for just arrays of ASCII chars, that is a common enough use case.

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


More information about the Digitalmars-d-bugs mailing list