Insert elements in container.
iterator insert( iterator before, std::initializer_list< reference > init);
This function inserts a list of elements at the specified container position. The behavior is undefined if the elements belong to the container.
Iterator pointing to the first inserted element
Name |
Description |
---|---|
|
Position at which the elements should be inserted |
|
Elements to be inserted |