basic_string&
append(const basic_string& str);
Effects: Calls append(str.data(), str.size()).
Returns: *this.
basic_string&
append(const basic_string& str, size_type pos, size_type n);
Requires: pos <= str.size()
Throws: out_of_range if pos > str.size().
Effects: Determines the effective length rlen of the string to append as the smaller of n and str.size() - pos and calls append(str.data() + pos, rlen).
Returns: *this.
basic_string&
append(const charT* s, size_type n);
Requires: s points to an array of at least n elements of charT.
Throws: length_error if size() + n > max_size().
Effects: The function replaces the string controlled by *this with a string of length size() + n whose first size() elements are a copy of the original string controlled by *this and whose remaining elements are a copy of the initial n elements of s.
Returns: *this.
basic_string& append(const charT* s);
Requires: s points to an array of at least traits::length(s) + 1 elements of charT.
Effects: Calls append(s, traits::length(s)).
Returns: *this.
basic_string& append(size_type n, charT c);
Effects: Equivalent to append(basic_string(n, c)).
Returns: *this.
template<class InputIterator>
basic_string& append(InputIterator first, InputIterator last);
Requires: [first,last) is a valid range.
Effects: Equivalent to append(basic_string(first, last)).
Returns: *this.
basic_string& append(initializer_list<charT> il);
Effects: Calls append(il.begin(), il.size()).
Returns: *this.
Effects: Equivalent to append(static_cast<size_type>(1), c).