#074 – The mechanics of lambda-to-class conversion by compilers
A C++ lambda looks like a small function literal — write some captures in brackets, parameters in parens, and a body in braces, and you have a callable. What the compiler actually produces is something heavier and more interesting: a…