[#absl-AbslStringify-0f]
= xref:absl.adoc[absl]::AbslStringify
:relfileprefix: ../
:mrdocs:

`AbslStringify` overloads

== Synopses

Declared in `&lt;absl&sol;crc&sol;crc32c&period;h&gt;`

Appends the decimal representation of `dec` to `sink`&period;


[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&period;&period;&period;_]#

Appends the hexadecimal representation of `hex` to `sink`&period;


[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&period;&period;&period;_]#

Format a CRC32C value as an eight&hyphen;digit hexadecimal string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:absl/AbslStringify-068.adoc[AbslStringify](
    Sink& sink,
    xref:absl/crc32c_t.adoc[crc32c&lowbar;t] crc);
----

[.small]#xref:absl/AbslStringify-068.adoc[_» more&period;&period;&period;_]#

Appends the decimal representation of this value to a sink, supporting `absl&colon;&colon;StrCat()` and related functions&period;


[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&period;&period;&period;_]#

Appends the decimal representation of this value to a sink, supporting `absl&colon;&colon;StrCat()` and related functions&period;


[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&period;&period;&period;_]#

Supports automatic stringification with absl&colon;&colon;StrCat and absl&colon;&colon;StrFormat&period;


[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&period;&period;&period;_]#

Support `absl&colon;&colon;StrCat`, `absl&colon;&colon;StrFormat`, etc&period;


[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&period;&period;&period;_]#

Appends the formatted duration to a stringify sink&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Sink&gt;
void
xref:absl/AbslStringify-00.adoc[AbslStringify](
    Sink& sink,
    xref:absl/Duration.adoc[Duration] d);
----

[.small]#xref:absl/AbslStringify-00.adoc[_» more&period;&period;&period;_]#

Appends the formatted time to a stringify sink&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Sink&gt;
void
xref:absl/AbslStringify-03.adoc[AbslStringify](
    Sink& sink,
    xref:absl/Time.adoc[Time] t);
----

[.small]#xref:absl/AbslStringify-03.adoc[_» more&period;&period;&period;_]#

Stringifies the `value` or the status of a `StatusOr&lt;T&gt;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Sink,
    typename T&gt;
requires absl&colon;&colon;HasAbslStringify&lt;T&gt;&colon;&colon;value
void
xref:absl/AbslStringify-07.adoc[AbslStringify](
    Sink& sink,
    xref:absl/StatusOr.adoc[StatusOr&lt;T&gt;] const& status&lowbar;or);
----

[.small]#xref:absl/AbslStringify-07.adoc[_» more&period;&period;&period;_]#

== Template Parameters

[cols="1,4"]
|===
| Name| Description
| *Sink*
| The sink type receiving the stringified output&period;
|===

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sink*
| The output sink that receives the formatted text&period;
| *dec*
| The decimal conversion parameters to format&period;
| *hex*
| The hexadecimal conversion parameters to format&period;
| *crc*
| The value to format&period;
| *v*
| The value to stringify&period;
| *cord*
| The Cord being stringified&period;
| *status*
| The status to stringify&period;
| *d*
| The duration to stringify&period;
| *t*
| The time to stringify&period;
| *status&lowbar;or*
| The object to stringify&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
