swap

swap overloads

Synopses

Declared in <util/bitdeque.h>

Swap two FeeFracs.

void
swap(
    FeeFrac& a,
    FeeFrac& b) noexcept;
» more...

Non-member version of swap.

void
swap(
    VecDeque& a,
    VecDeque& b) noexcept;
» more...

Exchange the contents of two containers.

void
swap(
    bitdeque& b1,
    bitdeque& b2) noexcept;
» more...

Parameters

NameDescription
aThe first FeeFrac to swap.
bThe second FeeFrac to swap.
b1First container to swap.
b2Second container to swap.