bsl::Deque_Util::swap

Exchange the values of the deques at a and b.

Synopsis

Declared in <bslstl_deque.h>

static
void
swap(
    void* a,
    void* b);

Description

Exchange the value of the specified a deque with that of the specified b deque.

Parameters

NameDescription
aaddress of the first raw deque object
baddress of the second raw deque object