cppcheck/samples/erase
Paul Fultz II a08a9c1349 Switch to use lifetime analysis for iterators and pointers to invalid containers
This will diagnose more issues such as:

```cpp
void f(std::vector<int> &v) {
    auto v0 = v.begin();
    v.push_back(123);
    std::cout << *v0 << std::endl;
}
```
2019-07-18 10:56:44 +02:00
..
bad.cpp Make warning disappear (#957) 2017-09-08 14:25:08 +02:00
good.cpp Make warning disappear (#957) 2017-09-08 14:25:08 +02:00
out.txt Switch to use lifetime analysis for iterators and pointers to invalid containers 2019-07-18 10:56:44 +02:00