Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::assign (9 of 12 overloads)

Replace the contents.

Synopsis
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
assign(
    std::initializer_list< value_type > ilist);
Description

Replace the contents with the characters in an initializer list

Exceptions

Type

Thrown On

std::length_error

if ilist.size() > max_size()

Return Value

*this


PrevUpHomeNext