3 ms·
Can you elaborate what you envision there? For reference, a lambda in C++ might look like this: auto sqr = [](double val) { return val * val; }; (The lamb
by MauranKilom 6y ago
Can you elaborate what you envision there? For reference, a lambda in C++ might look like this:
auto sqr = [](double val) { return val * val; };
(The lambda expression is technically only the part after the =, but storing it into a variable is common enough).
How would you use decltype here?