AbslStringify overloads
Synopses
Declared in <absl/crc/crc32c.h>
Appends the decimal representation of dec to sink.
void
AbslStringify(
S& sink,
Dec dec);
Appends the hexadecimal representation of hex to sink.
void
AbslStringify(
S& sink,
Hex hex);
Format a CRC32C value as an eight‐digit hexadecimal string.
void
AbslStringify(
Sink& sink,
crc32c_t crc);
Appends the decimal representation of this value to a sink, supporting absl::StrCat() and related functions.
void
AbslStringify(
Sink& sink,
int128 v);
Appends the decimal representation of this value to a sink, supporting absl::StrCat() and related functions.
void
AbslStringify(
Sink& sink,
uint128 v);
Supports automatic stringification with absl::StrCat and absl::StrFormat.
void
AbslStringify(
Sink& sink,
absl::Cord const& cord);
Support absl::StrCat, absl::StrFormat, etc.
void
AbslStringify(
Sink& sink,
Status const& status);
Appends the formatted duration to a stringify sink.
template<typename Sink>
void
AbslStringify(
Sink& sink,
Duration d);
Appends the formatted time to a stringify sink.
template<typename Sink>
void
AbslStringify(
Sink& sink,
Time t);
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);
Template Parameters
Name |
Description |
Sink |
The sink type receiving the stringified output. |
Parameters
Name |
Description |
sink |
The output sink that receives the formatted text. |
dec |
The decimal conversion parameters to format. |
hex |
The hexadecimal conversion parameters to format. |
crc |
The value to format. |
v |
The value to stringify. |
cord |
The Cord being stringified. |
status |
The status to stringify. |
d |
The duration to stringify. |
t |
The time to stringify. |
status_or |
The object to stringify. |
Created with MrDocs