← Back to index
|
Original Bugzilla link
Bug 3312 – std.string.count should use const(char)[], not immutable.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2009-09-11T08:19:00Z
Last change time
2015-06-09T01:26:49Z
Assigned to
andrei
Creator
dsimcha
Blocks
3313
Comments
Comment #0
by dsimcha — 2009-09-11T08:19:51Z
There's not much of a reason why count() needs a guarantee that noone else will have a mutable view of the arguments.
Comment #1
by bugzilla — 2010-08-13T03:22:16Z
http://www.dsource.org/projects/phobos/changeset/1844
Comment #2
by dsimcha — 2010-08-15T21:32:05Z
Fixed in SVN, thanks to Lars Tandle Kyllingstad.