[#bsl-list-054-insert_range] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::insert_range :relfileprefix: ../../ :mrdocs: Insert the elements of `range` at the specified `position`. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_RANGE> xref:bsl/list-054/iterator.adoc[list<VALUE, ALLOCATOR>::iterator] insert_range( xref:bsl/list-054/const_iterator.adoc[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 [cols="1,4"] |=== | Name| Description | *position* | location before which elements are inserted | *range* | range of values to insert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#