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

           Summary: Check when immutability is really needed in std.string
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: dsim...@yahoo.com
        Depends on: 3312


--- Comment #0 from David Simcha <dsim...@yahoo.com> 2009-09-11 08:22:39 PDT ---
This is a meta-bug.  In std.string, there are a lot of functions that demand
immutable arguments when they don't really need a guarantee that noone else has
a mutable view of the string, and thus, const arguments would do just fine. 
Fixing this would make the const system seem like much of a straight jacket to
newcomers without reducing safety.

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

Reply via email to