[#absl-Hex-2constructor-0cd]
= xref:absl.adoc[absl]::xref:absl/Hex.adoc[Hex]::Hex
:relfileprefix: ../../
:mrdocs:

Constructs a `Hex` from a pointer value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Pointee&gt;
explicit
Hex(
    Pointee* v,
    xref:absl/PadSpec.adoc[PadSpec] spec = absl&colon;&colon;kNoPad);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v*
| The pointer whose address is formatted as hexadecimal&period;
| *spec*
| The padding specification to apply&period;
|===


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