Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::assign (8 of 12 overloads)

Replace the contents.

Synopsis
template<
    typename InputIterator>
BOOST_STATIC_STRING_CPP14_CONSTEXPR std::enable_if< detail::is_input_iterator< InputIterator >::value, basic_static_string & >::type
assign(
    InputIterator first,
    InputIterator last);
Description

Replace the contents with a copy of characters from the range (first, last)

Exceptions

Type

Thrown On

std::length_error

if std::distance(first, last) > max_size()

Return Value

*this


PrevUpHomeNext