Constructs a Hex from an 8‐byte integral value.

Synopsis

Declared in <absl/strings/str_cat.h>

template<typename Int>
explicit
Hex(
    Int v,
    PadSpec spec = absl::kNoPad)
requires sizeof(Int) == 8 && !std::is_pointer_v<Int>;

Parameters

Name

Description

v

The value to format as hexadecimal.

spec

The padding specification to apply.

Created with MrDocs