News for hackers. Stuff that matters.
Re:How to make smaller C and C++ binaries by spacechild1 on Sunday May 07, 2023 @08:28PM (#35856872)
> 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?

Re:How to make smaller C and C++ binaries by Espressosaurus on Sunday May 07, 2023 @10:00PM (#35857305)
It depends on what you're using for your function type erasure, but yes.