D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3300 - std.string.toupper and tolower should be (const(char)[]), not string
Summary: std.string.toupper and tolower should be (const(char)[]), not string
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: Andrei Alexandrescu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 11:58 UTC by David Simcha
Modified: 2015-06-09 01:26 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Simcha 2009-09-04 11:58:22 UTC
I can't really see why these functions would need the guarantee that no other view of the memory could be non-const.
Comment 1 Andrei Alexandrescu 2009-09-04 12:04:31 UTC
(In reply to comment #0)
> I can't really see why these functions would need the guarantee that no other
> view of the memory could be non-const.

Good point, thanks.
Comment 2 Walter Bright 2009-10-06 02:22:31 UTC
Fixed dmd 2.033