swap

Non-member version of swap.

Synopsis

Declared in <util/vecdeque.h>

void
swap(
    VecDeque& a,
    VecDeque& b) noexcept;

NOTE

This function is a hidden friend of VecDeque, declared only inside that class: it can be found only through argument-dependent lookup.

Parameters

NameDescription
aThe first deque to swap.
bThe second deque to swap.