It would be nice to be able to specifically say per variable, and generally wether the closure copies or references the context variables, as in C++11.
Though, perhaps it could syntactically be incorporated in the arg list, clarifying that it's data utilized by the function - this though in turn obscures the functions actual signature instead:
It would be nice to be able to specifically say per variable, and generally wether the closure copies or references the context variables, as in C++11.
Though, perhaps it could syntactically be incorporated in the arg list, clarifying that it's data utilized by the function - this though in turn obscures the functions actual signature instead: