3 ms·
I though in c++ the lambda get created on the stack like any other object.
by soulbadguy 10y ago
I though in c++ the lambda get created on the stack like any other object.
- astn 10y agoThey 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.