Note that this invalidates all array iterators.
| 2356 | |
| 2357 | // Note that this invalidates all array iterators. |
| 2358 | void EraseArray(const string& name) { arrays.erase(name); } |
| 2359 | void EraseArrays(std::function<bool(const string&)> discardable) { |
| 2360 | for (auto it = arrays.begin(); it != arrays.end();) { |
| 2361 | if (discardable(it->first)) { |
no test coverage detected