[Issue 5939] Cannot copy std.algorithm.map
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 7 15:31:48 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5939
--- Comment #11 from Walter Bright <bugzilla at digitalmars.com> 2012-02-07 15:31:45 PST ---
(In reply to comment #10)
> ----
> int base = 2;
> map!(a => a + base)(new int[](10));
> ----
> What we should do to solve this is to infer if a templated struct really needs
> a frame pointer
How else could it access 'base'?
--
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