Thread overview
[Issue 3300] New: std.string.toupper and tolower should be (const(char)[]), not string
Sep 04, 2009
dsimcha@yahoo.com
Oct 06, 2009
Walter Bright
September 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3300

           Summary: std.string.toupper and tolower should be
                    (const(char)[]), not string
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: dsimcha@yahoo.com


I can't really see why these functions would need the guarantee that no other view of the memory could be non-const.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3300


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com




--- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com>  2009-09-04 12:04:31 PDT ---
(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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3300


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 06, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3300


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2009-10-06 02:22:31 PDT ---
Fixed dmd 2.033

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