Re:A Defer Mechanism for C
by scott_s on Monday December 14, 2020 @10:52AM
(#25418925)
The proposal poses object value capture as an open question. See heading "Should object values be captured?" on page 14 of the proposal: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2542.pdf
[ Parent
| on HN ]
Yes, you are correct and there wasn't much support for capturing values so we would probably only support capture by reference and wait to see if C solves this problem in general by introducing lambdas.