What    |Removed                     |Added
                 CC|                            |

--- Comment #10 from 2012-02-07 13:57:03 PST ---
>Perhaps changing map to make its inner struct 'static' (so it won't require a
>context pointer) will do the trick.

This is a no-go, it would break every map parameter that needs a frame pointer.
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, thus creating less nested structs in the first place.

Other than that it doesn't make sense to allow instantiation of nested structs
outside of their scope. We should refine the specification.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to