Supports automatic stringification with absl::StrCat and absl::StrFormat.

Synopsis

Declared in <absl/strings/cord.h>

template<typename Sink>
void
AbslStringify(
    Sink& sink,
    absl::Cord const& cord);
Note

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

Template Parameters

Name

Description

Sink

The sink type receiving the stringified output.

Parameters

Name

Description

sink

The sink that receives the Cord's contents.

cord

The Cord being stringified.

Created with MrDocs