absl::Cord::swap

Swaps the contents of the Cord with other.

Synopsis

Declared in <absl/strings/cord.h>

void
swap(Cord& other) noexcept;

Parameters

NameDescription
otherThe Cord to swap contents with.