absl::AbslStringify

AbslStringify overloads

Synopses

Declared in <absl/crc/crc32c.h>

Appends the decimal representation of dec to sink.

void
AbslStringify(
    S& sink,
    Dec dec);
» more...

Appends the hexadecimal representation of hex to sink.

void
AbslStringify(
    S& sink,
    Hex hex);
» more...

Format a CRC32C value as an eight-digit hexadecimal string.

void
AbslStringify(
    Sink& sink,
    crc32c_t crc);
» more...

Appends the decimal representation of this value to a sink, supporting absl::StrCat() and related functions.

void
AbslStringify(
    Sink& sink,
    int128 v);
» more...

Appends the decimal representation of this value to a sink, supporting absl::StrCat() and related functions.

void
AbslStringify(
    Sink& sink,
    uint128 v);
» more...

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

void
AbslStringify(
    Sink& sink,
    absl::Cord const& cord);
» more...

Support absl::StrCat, absl::StrFormat, etc.

void
AbslStringify(
    Sink& sink,
    Status const& status);
» more...

Appends the formatted duration to a stringify sink.

template<typename Sink>
void
AbslStringify(
    Sink& sink,
    Duration d);
» more...

Appends the formatted time to a stringify sink.

template<typename Sink>
void
AbslStringify(
    Sink& sink,
    Time t);
» more...

Stringifies the value or the status of a StatusOr<T>.

template<
    typename Sink,
    typename T>
requires absl::HasAbslStringify<T>::value
void
AbslStringify(
    Sink& sink,
    StatusOr<T> const& status_or);
» more...

Template Parameters

NameDescription
SinkThe sink type receiving the stringified output.

Parameters

NameDescription
sinkThe output sink that receives the formatted text.
decThe decimal conversion parameters to format.
hexThe hexadecimal conversion parameters to format.
crcThe value to format.
vThe value to stringify.
cordThe Cord being stringified.
statusThe status to stringify.
dThe duration to stringify.
tThe time to stringify.
status_orThe object to stringify.