These three lines of code will help to understand how lambda functions work in c++:
int sum = [](int x, int y){return x+y;}(10,20);
// or
auto sumFunc = [](int x, int y){return x+y;};
int sum = sumFunc(10,20);
These three lines of code will help to understand how lambda functions work in c++:
int sum = [](int x, int y){return x+y;}(10,20);
// or
auto sumFunc = [](int x, int y){return x+y;};
int sum = sumFunc(10,20);
For further actions, you may consider blocking this person and/or reporting abuse
Mike Young -
Mike Young -
Harold Defree -
Pelle Nilsen -
Top comments (0)