reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
583 size_t InsertElt = I - this->begin(); 585 if (I == this->end()) { // Important special case for empty vector. 590 assert(I >= this->begin() && "Insertion iterator is out of bounds."); 591 assert(I <= this->end() && "Inserting past the end of the vector."); 599 I = this->begin()+InsertElt; 605 if (size_t(this->end()-I) >= NumToInsert) { 611 std::move_backward(I, OldEnd-NumToInsert, OldEnd); 613 std::copy(From, To, I); 614 return I; 623 size_t NumOverwritten = OldEnd-I; 624 this->uninitialized_move(I, OldEnd, this->end()-NumOverwritten); 627 for (T *J = I; NumOverwritten > 0; --NumOverwritten) { 634 return I;