[Issue 4798] New: std.algorithm.map unusable for ranges with const elements
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 3 04:16:27 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4798
Summary: std.algorithm.map unusable for ranges with const
elements
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: pelle.mansson at gmail.com
--- Comment #0 from Pelle Månsson <pelle.mansson at gmail.com> 2010-09-03 04:16:10 PDT ---
std.algorithm.map uses a cache internally, and can therefore not be used with
ranges of const elements.
I feel this limitation is somewhat unfounded. Map does not need a cache.
--
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