[#bsl-Deque_Util] = xref:bsl.adoc[bsl]::Deque_Util :relfileprefix: ../ :mrdocs: Non‐parameterized utilities for moving and swapping deque internals. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct Deque_Util; ---- == Description This `struct` provides a namespace to implement the `swap` member function of `deque<VALUE_TYPE, ALLOCATOR>`. This function can be implemented irrespective of the `VALUE_TYPE` or `ALLOCATOR` template parameters, which is why we implement it in this non‐parameterized, non‐inlined utility. == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/Deque_Util/move.adoc[`move`] | Move the raw deque at `src` into `dst` and reset `src`. | xref:bsl/Deque_Util/swap.adoc[`swap`] | Exchange the values of the deques at `a` and `b`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#