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

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;

== Synopsis

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

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

== Return Value

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]#
