Lambdas in Modern C++

preview_player
Показать описание
Presented by Allan Deutsch
Рекомендации по теме
Комментарии
Автор

Just to make it clear to everyone, a lambda is not quite the same thing as a closure. A closure is simply a lambda that can capture variables outside of its parameter list. The presenter didn't really make that very clear at the beginning.

xplinux
Автор

Really good tutorial. On slide 33, shouldn't the syntax be using (...) instead of {...}? As in: auto print = make_overload ( [](int i){ ...}, [](string s){...} );

bikinisquared
Автор

Everything about Lambdas at one place...Pretty cool... :-)

krantimadineni
Автор

I use lambdas to store callables in e.g a map<string, std::function> CALLABLE_STUFF...it works for me, but I have no idea if this is a good idea.

syntaxed
Автор

at about 10:20: can you even name a variable "double"…?

RoamingAdhocrat
Автор

templated lambda is available in C++14

Ciaran
Автор

"Modern" and "C++" are two words that cannot go in the same sentence, other than "C++ is not modern". It is an oxymoron.

alexeevic