Exchange the contents of two containers.

Synopsis

Declared in <util/bitdeque.h>

void
swap(
    bitdeque& b1,
    bitdeque& b2) noexcept;
Note

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

Parameters

Name

Description

b1

First container to swap.

b2

Second container to swap.

Created with MrDocs