Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::assign (1 of 12 overloads)

Replace the contents.

Synopsis
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
assign(
    size_type count,
    value_type ch);
Description

Replace the contents with count copies of character ch

Exceptions

Type

Thrown On

std::length_error

if count > max_size()

Return Value

*this


PrevUpHomeNext