Insert the elements of range before position.
Synopsis
Declared in <bslstl_vector.h>
template<class t_RANGE>
vector<VALUE_TYPE, ALLOCATOR>::iterator
insert_range(
const_iterator position,
t_RANGE&& range);
Description
Insert the elements of range at position in this vector.
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, or position if empty
Parameters
Name |
Description |
position |
location before which elements are inserted |
range |
range of values to insert |
Created with MrDocs