3 ms·
No need to spell each variable nor give a return type: auto f = [&](...) { ... }; That covers the majority of cases.
by jfkebwjsbx 6y ago
No need to spell each variable nor give a return type:
auto f = [&](...) { ... };
That covers the majority of cases.