absl::AbslStringify

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

NameDescription
SinkThe sink type receiving the stringified output.

Parameters

NameDescription
sinkThe sink that receives the Cord's contents.
cordThe Cord being stringified.