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: nob...@puremagic.com
        ReportedBy: pelle.mans...@gmail.com


--- Comment #0 from Pelle M�nsson <pelle.mans...@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: -------

Reply via email to