Lesson 18 of 24 · +130 xp

Lambda

Inline function.

Explained simply

Your task

Write: auto sq = [](int x) { return x * x; };

lambda.cpp
← Back