Back on the original topic, here's a quick way to get a potential security issue in C++, without pointers: ```cpp auto IntThing(int x) { return [&](int y) { return x + y; },; }, int main() { int secret = 1337; auto func = IntThing(5); int res = func(3); // this might expose secret! std::cout << res; }, ```
thanks goodness, without any warnings enabled