Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::operator= (3 of 6 overloads)

Assign to the string.

Synopsis
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
operator=(
    const_pointer s);
Description

Replace the contents with those of the null-terminated string s

Exceptions

Type

Thrown On

std::length_error

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


PrevUpHomeNext