[#bsl-basic_string-0fb-operator_plus_eq-03]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0fb.adoc[basic&lowbar;string&lt;char&gt;]::operator&plus;&equals;
:relfileprefix: ../../
:mrdocs:

Addition assignment operators

== Synopses

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

Append the specified `character` to this string, and return a reference providing modifiable access to this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char&gt;]&
xref:bsl/basic_string-0fb/operator_plus_eq-0e.adoc[operator&plus;&equals;](char character);
----

[.small]#xref:bsl/basic_string-0fb/operator_plus_eq-0e.adoc[_» more&period;&period;&period;_]#

Append the specified `rhs` string to this string, and return a reference providing modifiable access to this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char&gt;]&
xref:bsl/basic_string-0fb/operator_plus_eq-094.adoc[operator&plus;&equals;](xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char&gt;] const& rhs);
----

[.small]#xref:bsl/basic_string-0fb/operator_plus_eq-094.adoc[_» more&period;&period;&period;_]#

Append the specified null&hyphen;terminated `rhs` string (of length `CHAR&lowbar;TRAITS&colon;&colon;length(rhs)`) to this string, and return a reference providing modifiable access to this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char&gt;]&
xref:bsl/basic_string-0fb/operator_plus_eq-0c.adoc[operator&plus;&equals;](char const* rhs);
----

[.small]#xref:bsl/basic_string-0fb/operator_plus_eq-0c.adoc[_» more&period;&period;&period;_]#

Append the specified `rhs` to this string, and return a reference providing modifiable access to this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STRING&lowbar;VIEW&lowbar;LIKE&lowbar;TYPE&gt;
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char&gt;]&
xref:bsl/basic_string-0fb/operator_plus_eq-05.adoc[operator&plus;&equals;](STRING&lowbar;VIEW&lowbar;LIKE&lowbar;TYPE const& rhs);
----

[.small]#xref:bsl/basic_string-0fb/operator_plus_eq-05.adoc[_» more&period;&period;&period;_]#

Append the specified `rhs` string to this string, and return a reference providing modifiable access to this string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOC2&gt;
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string&lt;char&gt;]&
xref:bsl/basic_string-0fb/operator_plus_eq-090.adoc[operator&plus;&equals;](std::basic&lowbar;string&lt;char, char&lowbar;traits&lt;char&gt;, ALLOC2&gt; const& rhs);
----

[.small]#xref:bsl/basic_string-0fb/operator_plus_eq-090.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
