Lines Matching defs:container
26 // - ITERATORS ARE NOT STABLE. Mutating the container will invalidate all
35 // If you want a similar container with only a queue API, use base::queue in
278 // It should be valid to add 0 to any iterator, even if the container is
297 // match the original) in the container is illegal.
304 // are compared must have been generated without mutating the container.
305 // If this fires, the container was mutated between generating the two
319 // container will update the generation for every modification so we can
320 // test if the container was modified by comparing them.
1097 void Erase(circular_deque<T>& container, const Value& value) {
1098 container.erase(std::remove(container.begin(), container.end(), value),
1099 container.end());
1103 void EraseIf(circular_deque<T>& container, Predicate pred) {
1104 container.erase(std::remove_if(container.begin(), container.end(), pred),
1105 container.end());