[#absl-AbslStringify-0f] = xref:absl.adoc[absl]::AbslStringify :relfileprefix: ../ :mrdocs: `AbslStringify` overloads == Synopses Declared in `<absl/crc/crc32c.h>` Appends the decimal representation of `dec` to `sink`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-09.adoc[AbslStringify]( S& sink, xref:absl/Dec.adoc[Dec] dec); ---- [.small]#xref:absl/AbslStringify-09.adoc[_» more..._]# Appends the hexadecimal representation of `hex` to `sink`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-0e.adoc[AbslStringify]( S& sink, xref:absl/Hex.adoc[Hex] hex); ---- [.small]#xref:absl/AbslStringify-0e.adoc[_» more..._]# Format a CRC32C value as an eight‐digit hexadecimal string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-068.adoc[AbslStringify]( Sink& sink, xref:absl/crc32c_t.adoc[crc32c_t] crc); ---- [.small]#xref:absl/AbslStringify-068.adoc[_» more..._]# Appends the decimal representation of this value to a sink, supporting `absl::StrCat()` and related functions. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-061.adoc[AbslStringify]( Sink& sink, xref:absl/int128.adoc[int128] v); ---- [.small]#xref:absl/AbslStringify-061.adoc[_» more..._]# Appends the decimal representation of this value to a sink, supporting `absl::StrCat()` and related functions. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-010.adoc[AbslStringify]( Sink& sink, xref:absl/uint128.adoc[uint128] v); ---- [.small]#xref:absl/AbslStringify-010.adoc[_» more..._]# Supports automatic stringification with absl::StrCat and absl::StrFormat. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-0d.adoc[AbslStringify]( Sink& sink, xref:absl/Cord.adoc[absl::Cord] const& cord); ---- [.small]#xref:absl/AbslStringify-0d.adoc[_» more..._]# Support `absl::StrCat`, `absl::StrFormat`, etc. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/AbslStringify-01d.adoc[AbslStringify]( Sink& sink, xref:absl/Status.adoc[Status] const& status); ---- [.small]#xref:absl/AbslStringify-01d.adoc[_» more..._]# Appends the formatted duration to a stringify sink. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Sink> void xref:absl/AbslStringify-00.adoc[AbslStringify]( Sink& sink, xref:absl/Duration.adoc[Duration] d); ---- [.small]#xref:absl/AbslStringify-00.adoc[_» more..._]# Appends the formatted time to a stringify sink. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Sink> void xref:absl/AbslStringify-03.adoc[AbslStringify]( Sink& sink, xref:absl/Time.adoc[Time] t); ---- [.small]#xref:absl/AbslStringify-03.adoc[_» more..._]# Stringifies the `value` or the status of a `StatusOr<T>`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Sink, typename T> requires absl::HasAbslStringify<T>::value void xref:absl/AbslStringify-07.adoc[AbslStringify]( Sink& sink, xref:absl/StatusOr.adoc[StatusOr<T>] const& status_or); ---- [.small]#xref:absl/AbslStringify-07.adoc[_» more..._]# == Template Parameters [cols="1,4"] |=== | Name| Description | *Sink* | The sink type receiving the stringified output. |=== == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#