Insert the elements of range at the specified position.
Synopsis
Declared in <bslstl_list.h>
template<class t_RANGE>
list<VALUE, ALLOCATOR>::iterator
insert_range(
const_iterator position,
t_RANGE&& range);
Description
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.
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