| 5178 | } |
| 5179 | |
| 5180 | void assertWithSideEffect_std_prev_next(const std::vector<int>& v, std::vector<int>::const_iterator it) { |
| 5181 | assert(std::prev(it, 1) == v.begin()); |
| 5182 | // cppcheck-suppress checkLibraryNoReturn |
| 5183 | assert(std::next(it, 1) == v.end()); |
| 5184 | } |
| 5185 | |
| 5186 | std::vector<int> containerOutOfBounds_push_back() { // #12775 |
| 5187 | std::vector<int> v; |