Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::append (6 of 9 overloads)

Append to the string.

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

Appends characters from the range (first, last) The inserted string can contain null characters. This function does not participate in overload resolution if InputIterator does not satisfy LegacyInputIterator

Exceptions

Type

Thrown On

std::length_error

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

Return Value

*this


PrevUpHomeNext