absl::Hex::Hex

Constructs a Hex from a pointer value.

Synopsis

Declared in <absl/strings/str_cat.h>

template<typename Pointee>
explicit
Hex(
    Pointee* v,
    PadSpec spec = absl::kNoPad);

Parameters

NameDescription
vThe pointer whose address is formatted as hexadecimal.
specThe padding specification to apply.