Re:C++ and the Culture of Complexity
by pcwalton on Friday August 23, 2013 @07:39PM
(#6266851)
> 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.
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.