Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::operator+= (2 of 5 overloads)

Append to the string.

Synopsis
constexpr basic_static_string&
operator+=(
    value_type 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

std::length_error

size() >= max_size()


PrevUpHomeNext