Swaps the contents of two Cords.

Synopsis

Declared in <absl/strings/cord.h>

void
swap(
    Cord& x,
    Cord& y) noexcept;
Note

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

Parameters

Name

Description

x

The first Cord.

y

The second Cord.

Created with MrDocs