Insert the elements of range before position.

Synopsis

Declared in <bslstl_deque.h>

template<class t_RANGE>
deque<VALUE_TYPE, ALLOCATOR>::iterator
insert_range(
    const_iterator position,
    t_RANGE&& range);

Description

Insert at the specified position in this object the elements of the specified range. Note that range must meet the requirements of an input range and the values from range must have a type matching or convertible to (template parameter) VALUE_TYPE.

Return Value

iterator to the first inserted element

Parameters

Name

Description

position

iterator before which to insert

range

input range of elements to insert

Created with MrDocs