Insert at the specified position in this deque the value of each value_type object in the specified values initializer list, and return an iterator providing modifiable access to the first element in the newly inserted sequence of elements. This method offers full guarantee of rollback in case an exception is thrown other than by the VALUE_TYPE copy constructor or assignment operator. This method requires that the (template parameter) VALUE_TYPE be copy‐insertable into this deque (see {Requirements on VALUE_TYPE}). The behavior is undefined unless position is an iterator in the range [cbegin() .. cend()] (both endpoints included).
Synopsis
Declared in <bslstl_deque.h>
deque<VALUE_TYPE, ALLOCATOR>::iterator
insert(
const_iterator position,
std::initializer_list<value_type> values);
Created with MrDocs