[#bsl-basic_string-0faf-operator_plus_eq-044]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic&lowbar;string]::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]&
xref:bsl/basic_string-0faf/operator_plus_eq-0d.adoc[operator&plus;&equals;](CHAR&lowbar;TYPE character);
----

[.small]#xref:bsl/basic_string-0faf/operator_plus_eq-0d.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]&
xref:bsl/basic_string-0faf/operator_plus_eq-0e.adoc[operator&plus;&equals;](xref:bsl/basic_string-0faf.adoc[basic&lowbar;string] const& rhs);
----

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

Append the specified operand to this string&period;


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

[.small]#xref:bsl/basic_string-0faf/operator_plus_eq-045.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]&
xref:bsl/basic_string-0faf/operator_plus_eq-040.adoc[operator&plus;&equals;](STRING&lowbar;VIEW&lowbar;LIKE&lowbar;TYPE const& rhs);
----

[.small]#xref:bsl/basic_string-0faf/operator_plus_eq-040.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]&
xref:bsl/basic_string-0faf/operator_plus_eq-00.adoc[operator&plus;&equals;](std::basic&lowbar;string&lt;CHAR&lowbar;TYPE, CHAR&lowbar;TRAITS, ALLOC2&gt; const& rhs);
----

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

== Return Value

reference providing modifiable access to this string

== Parameters

[cols="1,4"]
|===
| Name| Description
| *character*
| character value
| *rhs*
| right&hyphen;hand operand
|===


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