string::push_back

Append a character.

Synopsis

void
push_back(
    char ch);

Description

Appends a character to the end of the string.

Exception Safety

Strong guarantee.

Parameters

Name Description

ch

The character to append.

Exceptions

Type Thrown On

boost::system::system_error

size() + 1 > max_size().