internal function — Manipulator to align output on an internal point
ios_base& internal(ios_base& stream)
The internal
function is a
manipulator that sets the stream's alignment to internal. The
function calls stream.setf(ios_base::internal
, ios_base::adjustfield)
and returns
stream
. Internal padding works as
follows:
If the formatted number begins with a sign, insert the padding after the sign.
If the formatted number begins with 0x
or 0X
, insert the padding after the
x
or X
.
Otherwise, insert the padding before the number (like
ios_base::right
).