[#bsl-Deque_Util]
= xref:bsl.adoc[bsl]::Deque&lowbar;Util
:relfileprefix: ../
:mrdocs:

Non&hyphen;parameterized utilities for moving and swapping deque internals&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;deque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Deque&lowbar;Util;
----

== Description

This `struct` provides a namespace to implement the `swap` member function of `deque&lt;VALUE&lowbar;TYPE, ALLOCATOR&gt;`&period; This function can be implemented irrespective of the `VALUE&lowbar;TYPE` or `ALLOCATOR` template parameters, which is why we implement it in this non&hyphen;parameterized, non&hyphen;inlined utility&period;

== 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`&period;
| xref:bsl/Deque_Util/swap.adoc[`swap`] 
| Exchange the values of the deques at `a` and `b`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
