Insert element in container.
iterator insert( iterator before, reference const& v);
This function inserts an element at the specified container position. The behavior is undefined if the element belongs to the container.
Iterator pointing to the inserted element
Name |
Description |
---|---|
|
Position at which the element should be inserted |
|
Element to be inserted |