Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::erase (1 of 3 overloads)

Removes min(count, size() - index) characters starting at index

Synopsis
BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string&
erase(
    size_type index = 0,
    size_type count = npos);
Description
Exceptions

Type

Thrown On

std::out_of_range

if index > size()

Return Value

*this


PrevUpHomeNext