3 ms·
> That code is wrong. Its obvious why its wrong when you think about the closure representation. I don't follow you. There's nothing inconsistent about allowin
by pcwalton 13y ago
> That code is wrong. Its obvious why its wrong when you think about the closure representation.
I don't follow you. There's nothing inconsistent about allowing the closure representation to capture by reference. Indeed C++ allows this, if you write the appropriate capture clause.