Boost C++ Libraries Home Libraries People FAQ More

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

Append to the string.

Synopsis
constexpr basic_static_string&
operator+=(
    std::initializer_list< value_type > ilist);
Description

Appends the characters from ilist to the end of the string.

Exception Safety

Strong guarantee.

Return Value

*this

Parameters

Name

Description

ilist

The initializer list to append.

Exceptions

Type

Thrown On

std::length_error

size() + ilist.size() > max_size()


PrevUpHomeNext