2 ms·
That shouldn’t be the case for c++ and Rust lambdas that are immediately invoked. The compiler should see through it.
by vlovich123 4y ago
That shouldn’t be the case for c++ and Rust lambdas that are immediately invoked. The compiler should see through it.
- slaymaker1907 4y agoNot necessarily for C++. At least for msbuild, you can use `__declspec(noinline)` on a lambda. This can be handy for complex macros that would otherwise allocate a bunch of memory.