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<char32_t>&
operator+=(char32_t 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<char32_t>&
operator+=(char32_t 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<char32_t>&
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<char32_t>&
operator+=(std::basic_string<char32_t, char_traits<char32_t>, ALLOC2> const& rhs);

Created with MrDocs