C++ Lambda Expressions and Functions Tutorial

preview_player
Показать описание
In this video I explain C++ functions and lamda expressions by the example of erasing items from a std vector of integers.

I use the STL function std::remove_if and vector erase with a lambda expression to remove items from a vector that meet a certain condition.

I explain the concepts of lambda expressions like capture clauses, call by value and call by reference.

See my social profiles here:

Рекомендации по теме
Комментарии
Автор

Best explanation I've seen so far

christians
Автор

It was extreemly understandable! Thank you man!)

progpl
Автор

It's awesom! I use the same thinks to write code)

progpl
Автор

Since lambda expressions don't have a name, how are they called?

xarzu
Автор

Hi, , pls can anyone tell me where can I find my custom operators in blender 2.9

rayanerayane
Автор

I don't understand using const and also passing by reference.. why would you do that?

xarzu
visit shbcf.ru