Lines Matching refs:container_
57 : container_(container), iterator_(it) {} in UptrVectorIterator()
108 return UptrVectorIterator(container_, container_->end()); in End()
112 UptrVector* container_; // The container we are manipulating.
298 return container_ == that.container_ && iterator_ == that.iterator_;
310 assert(container_ == that.container_);
317 assert(container_ == that.container_);
326 auto index = iterator_ - container_->begin(); in InsertBefore()
327 container_->insert(iterator_, std::move(value)); in InsertBefore()
328 return UptrVectorIterator(container_, container_->begin() + index); in InsertBefore()
336 const auto pos = iterator_ - container_->begin(); in InsertBefore()
337 const auto origsz = container_->size(); in InsertBefore()
338 container_->resize(origsz + values->size()); in InsertBefore()
339 std::move_backward(container_->begin() + pos, container_->begin() + origsz, in InsertBefore()
340 container_->end()); in InsertBefore()
341 std::move(values->begin(), values->end(), container_->begin() + pos); in InsertBefore()
342 return UptrVectorIterator(container_, container_->begin() + pos); in InsertBefore()
350 auto index = iterator_ - container_->begin(); in Erase()
351 (void)container_->erase(iterator_); in Erase()
352 return UptrVectorIterator(container_, container_->begin() + index); in Erase()