Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
scott_s
· 5y ago · 0 comments
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
Comments
[–]
rseacord
5y ago
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.