absl::swap

Swaps the contents of one status with another.

Synopsis

Declared in <absl/status/status.h>

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

Parameters

NameDescription
aThe first status.
bThe second status.