Addition assignment operators
Synopses
Declared in <bslstl_string.h>
Append the specified character to this string, and return a reference providing modifiable access to this string.
basic_string<char>&
operator+=(char character);
Append the specified rhs string to this string, and return a reference providing modifiable access to this string.
Append the specified null‐terminated rhs string (of length CHAR_TRAITS::length(rhs)) to this string, and return a reference providing modifiable access to this string.
basic_string<char>&
operator+=(char const* rhs);
Append the specified rhs to this string, and return a reference providing modifiable access to this string.
template<class STRING_VIEW_LIKE_TYPE>
basic_string<char>&
operator+=(STRING_VIEW_LIKE_TYPE const& rhs);
Append the specified rhs string to this string, and return a reference providing modifiable access to this string.
template<class ALLOC2>
basic_string<char>&
operator+=(std::basic_string<char, char_traits<char>, ALLOC2> const& rhs);
Created with MrDocs