[#absl-Hex-2constructor-0a] = xref:absl.adoc[absl]::xref:absl/Hex.adoc[Hex]::Hex :relfileprefix: ../../ :mrdocs: Constructs a `Hex` from a 1‐byte integral value. == Synopsis Declared in `<absl/strings/str_cat.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Int> explicit Hex( Int v, xref:absl/PadSpec.adoc[PadSpec] spec = absl::kNoPad) requires sizeof(Int) == 1 && !std::is_pointer_v<Int>; ---- == Parameters [cols="1,4"] |=== | Name| Description | *v* | The value to format as hexadecimal. | *spec* | The padding specification to apply. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#