[#bsl-deque-0c-insert-0c] = xref:bsl.adoc[bsl]::xref:bsl/deque-0c.adoc[deque]::insert :relfileprefix: ../../ :mrdocs: Insert at the specified `position` in this deque the specified move‐insertable `value`, and return an iterator providing modifiable access to the newly inserted element. `value` is left in a valid but unspecified state. If an exception is thrown (other than by the copy constructor, move constructor, assignment operator, or move assignment operator of `value_type`), this method has no effect. This method requires that the (template parameter) `VALUE_TYPE` be `move‐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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/deque-0c/iterator-02.adoc[deque<VALUE_TYPE, ALLOCATOR>::iterator] insert( xref:bsl/deque-0c/const_iterator.adoc[const_iterator] position, xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<value_type>] value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#