Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
soulbadguy
· 10y ago · 0 comments
I though in c++ the lambda get created on the stack like any other object.
Comments
[–]
astn
10y ago
They do, but to actually use it, to pass it anywhere, you have to either wrap it in some other object (std::function, as comex pointed out) or use a template.