[#absl-DereferenceFormatter-09]
= xref:absl.adoc[absl]::DereferenceFormatter
:relfileprefix: ../
:mrdocs:

`DereferenceFormatter` overloads

== Synopses

Declared in `&lt;absl&sol;strings&sol;str&lowbar;join&period;h&gt;`

Function overload of `DereferenceFormatter()` for using a default `AlphaNumFormatter()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&sol;&ast; implementation-defined &ast;&sol;::DereferenceFormatterImpl&lt;&sol;&ast; implementation-defined &ast;&sol;::AlphaNumFormatterImpl&gt;
xref:absl/DereferenceFormatter-01.adoc[DereferenceFormatter]();
----

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

Formats its argument by dereferencing it and then applying the given formatter&period; This formatter is useful for formatting a container of pointer&hyphen;to&hyphen;T&period; This pattern often shows up when joining repeated fields in protocol buffers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Formatter&gt;
&sol;&ast; implementation-defined &ast;&sol;::DereferenceFormatterImpl&lt;Formatter&gt;
xref:absl/DereferenceFormatter-0a.adoc[DereferenceFormatter](Formatter&& f);
----

[.small]#xref:absl/DereferenceFormatter-0a.adoc[_» more&period;&period;&period;_]#

== Return Value

* A dereferencing formatter using the default formatter&period;
* A formatter that dereferences each element before formatting it&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *f*
| The formatter applied to the dereferenced element&period;
|===


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