I am trying to learn closures in C++. This example works:
auto add_n(int n) { return [=](int x) -> int { return x + n; }; }; auto add_3 = a