[Issue 12313] Unneeded stack temporaries created by tuple foreach

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 7 07:48:38 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12313



--- Comment #2 from Dicebot <public at dicebot.lv> 2014-03-07 07:48:35 PST ---
Does not work for D1: "Error: no storage class for value var"

It does not also make any sense from language semantics point of view as
a.tupleof is effectively tuple of variable aliases. And there is no such thing
as `ref alias`.

Sounds more like a hack to fix another hack.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list