absl::swap

Swaps the contents of two absl::chunked_queue containers.

Synopsis

Declared in <absl/container/chunked_queue.h>

template<
    typename T,
    size_t BLo,
    size_t BHi,
    typename Allocator>
void
swap(
    chunked_queue<T, BLo, BHi, Allocator>& a,
    chunked_queue<T, BLo, BHi, Allocator>& b) noexcept;

Parameters

NameDescription
aThe first queue.
bThe second queue.