Constructs a Hex from a 1-byte integral value.
Declared in <absl/strings/str_cat.h>
template<typename Int>
explicit
Hex(
Int v,
PadSpec spec = absl::kNoPad)
requires sizeof(Int) == 1 && !std::is_pointer_v<Int>;
| Name | Description |
|---|---|
| v | The value to format as hexadecimal. |
| spec | The padding specification to apply. |