Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::assign (7 of 12 overloads)

Replace the contents.

Synopsis
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
assign(
    const_pointer s);
Description

Replace the contents with a copy of a null terminated string s

Exceptions

Type

Thrown On

std::length_error

if traits_type::length(s) > max_size()

Return Value

*this


PrevUpHomeNext