Insert the elements of range at the specified position.
Declared in <bslstl_list.h>
template<class t_RANGE>
list<VALUE, ALLOCATOR>::iterator
insert_range(
const_iterator position,
t_RANGE&& 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.
iterator to the first inserted element, or position if empty
| Name | Description |
|---|---|
| position | location before which elements are inserted |
| range | range of values to insert |