pfultz2 opened this issue 7 years ago · 0 comments
Warn for cases like this:
int * f(std::vector<int> v) { for(int & x : v) return &x; return nullptr; }
But only when v is a container.
v