Insert elements in container.
template< class FwdIt> iterator insert( iterator before, FwdIt first, FwdIt last);
This function inserts a range of elements at the specified container position. The behavior is undefined if any elements of the range belong to the container.
Iterator pointing to the first inserted element
Name |
Description |
---|---|
|
Position at which the elements should be inserted |
|
Iterator pointing to first element to be inserted |
|
Iterator pointing to one past the last element to be inserted |