4 ms·
C++ lambdas behave exactly like functions in any other functional language. In OCaml, for example, you can't do recursion for the same reason without the speci
by mgaunard 4y ago
C++ lambdas behave exactly like functions in any other functional language.
In OCaml, for example, you can't do recursion for the same reason without the special "let rec" construct.