3 ms·
> so you don't get accidental heap allocations from lambdas with large capture specs Lambdas themselves never require heap allocation. I guess you meant std::f
by spacechild1 4y ago
> so you don't get accidental heap allocations from lambdas with large capture specs
Lambdas themselves never require heap allocation. I guess you meant std::function?
- Espressosaurus 4y agoIt depends on what you're using for your function type erasure, but yes.