bsl::Deque_Util

Non-parameterized utilities for moving and swapping deque internals.

Synopsis

Declared in <bslstl_deque.h>

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

NameDescription
move Move the raw deque at src into dst and reset src.
swap Exchange the values of the deques at a and b.