| Home | Libraries | People | FAQ | More

###### string::operator+= (2 of 2 overloads)

Append a character.

<h7> Synopsis </h7>

    string&
    operator+=(
        char ch);

<h7> Description </h7>

Appends a character to the end of the string.

<h7> Exception Safety </h7>

Strong guarantee.

<h7> Parameters </h7>

Name | Description
--- | ---
`ch` | The character to append.

<h7> Exceptions </h7>

Type | Thrown On
--- | ---
`std::length_error` | `size() + 1 > max_size()`