Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

basic_static_string::push_back

Append a character.

Synopsis
constexpr void
push_back(
    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