hex function — Manipulator for hexadecimal integers
ios_base& hex(ios_base& stream)
The hex
function is a
manipulator that sets the conversion radix to base 16. The function
calls stream.setf(ios_base::hex
,
ios_base::basefield)
and returns
stream
.
dec function, ios_base::fmtflags type, noshowbase function, oct function, showbase function, num_get
in <locale>
, num_put
in <locale>