reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
425 _M_check_length(__len1, __len2, "basic_string::_M_replace"); 428 const size_type __new_size = __old_size + __len2 - __len1; 437 if (__how_much && __len1 != __len2) 438 this->_S_move(__p + __len2, __p + __len1, __how_much); 439 if (__len2) 440 this->_S_copy(__p, __s, __len2); 445 if (__len2 && __len2 <= __len1) 445 if (__len2 && __len2 <= __len1) 446 this->_S_move(__p, __s, __len2); 447 if (__how_much && __len1 != __len2) 448 this->_S_move(__p + __len2, __p + __len1, __how_much); 449 if (__len2 > __len1) 451 if (__s + __len2 <= __p + __len1) 452 this->_S_move(__p, __s, __len2); 454 this->_S_copy(__p, __s + __len2 - __len1, __len2); 454 this->_S_copy(__p, __s + __len2 - __len1, __len2); 459 this->_S_copy(__p + __nleft, __p + __len2, 460 __len2 - __nleft); 466 this->_M_mutate(__pos, __len1, __s, __len2);