basic_string Equivalent to append(s) basic_string& operator+=(charT c) basic_string Equivalent to push_back(c) iterator erase(iterator p) Sequence Erases the character at position p iterator erase(iterator first, iterator last) Sequence Erases the range [first, last) basic_string& erase(size_type pos = 0, size_type n = npos) basic_string Erases a range. void clear() Sequence Erases the entire container. void resize(size_type n, charT c = charT()) Sequence Appends characters, or erases characters from the end, as necessary to make the string's length exactly n characters. basic_string& assign(const basic_string&) basic_string Synonym for operator= basic_string& assign(const basic_string& s, size_type pos, size_type n) basic_string Assigns a substring of s to *this basic_string& assign(const charT* s, size_type n) basic_string Assigns the first n characters of s to *this. basic_string& assign(const charT* s) basic_string Assigns a null-terminated array of characters to *this. basic_string& assign(size_type n, charT c) Sequence Erases the existing characters and replaces them by n copies of c. template <class InputIterator> basic_string& assign (InputIterator first, InputIterator last) Sequence Erases the existing characters and replaces them by [first, last) basic_string& replace(size_type pos, size_type n, const basic_string& s) basic_string Replaces a substring of *this with the string s. basic_string& replace(size_type pos, size_type n, const basic_string& s, size_type pos1, size_type n1) basic_string Replaces a substring of *this with a substring of s. basic_string& replace(size_type pos, size_type n, const charT* s, size_type n1) basic_string Replaces a substring of *this with the first n1 characters of s. basic_string& replace(size_type pos, size_type n, const charT* s) basic_string Replaces a substring of *this with a null-terminated character array.
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату