string (1) | basic_string& replace (size_type pos, size_type len, const basic_string& str); basic_string& replace (iterator i1, iterator i2, const basic_string& str); |
---|---|
substring (2) | basic_string& replace (size_type pos, size_type len, const basic_string& str, size_type subpos, size_type sublen); |
c-string (3) | basic_string& replace (size_type pos, size_type len, const charT* s); basic_string& replace (iterator i1, iterator i2, const charT* s); |
buffer (4) | basic_string& replace (size_type pos, size_type len, const charT* s, size_type n); basic_string& replace (iterator i1, iterator i2, const charT* s, size_type n); |
fill (5) | basic_string& replace (size_type pos, size_type len, size_type n, charT c); basic_string& replace (iterator i1, iterator i2, size_type n, charT c); |
range (6) | template <class InputIterator> basic_string& replace (iterator i1, iterator i2, InputIterator first, InputIterator last); |
string (1) | basic_string& replace (size_type pos, size_type len, const basic_string& str); basic_string& replace (const_iterator i1, const_iterator i2, const basic_string& str); |
---|---|
substring (2) | basic_string& replace (size_type pos, size_type len, const basic_string& str, size_type subpos, size_type sublen); |
c-string (3) | basic_string& replace (size_type pos, size_type len, const charT* s); basic_string& replace (const_iterator i1, const_iterator i2, const charT* s); |
buffer (4) | basic_string& replace (size_type pos, size_type len, const charT* s, size_type n); basic_string& replace (const_iterator i1, const_iterator i2, const charT* s, size_type n); |
fill (5) | basic_string& replace (size_type pos, size_type len, size_type n, charT c); basic_string& replace (const_iterator i1, const_iterator i2, size_type n, charT c); |
range (6) | template <class InputIterator> basic_string& replace (const_iterator i1, const_iterator i2, InputIterator first, InputIterator last); |
initializer list (7) | basic_string& replace (const_iterator i1, const_iterator i2, initializer_list<charT> il); |
string (1) | basic_string& replace (size_type pos, size_type len, const basic_string& str); basic_string& replace (const_iterator i1, const_iterator i2, const basic_string& str); |
---|---|
substring (2) | basic_string& replace (size_type pos, size_type len, const basic_string& str, size_type subpos, size_type sublen = npos); |
c-string (3) | basic_string& replace (size_type pos, size_type len, const charT* s); basic_string& replace (const_iterator i1, const_iterator i2, const charT* s); |
buffer (4) | basic_string& replace (size_type pos, size_type len, const charT* s, size_type n); basic_string& replace (const_iterator i1, const_iterator i2, const charT* s, size_type n); |
fill (5) | basic_string& replace (size_type pos, size_type len, size_type n, charT c); basic_string& replace (const_iterator i1, const_iterator i2, size_type n, charT c); |
range (6) | template <class InputIterator> basic_string& replace (const_iterator i1, const_iterator i2, InputIterator first, InputIterator last); |
initializer list (7) | basic_string& replace (const_iterator i1, const_iterator i2, initializer_list<charT> il); |
|
|
replace is useful. |