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.
Declared in <bslstl_deque.h>
struct Deque_Util;
| Name | Description |
|---|---|
move | Assign the value of the specified dst deque to that of the specified src deque, and reset the src deque to a raw state. |
swap | Exchange the value of the specified a deque with that of the specified b deque. |