Name

right function — Manipulator to right-align output

Synopsis

ios_base& right(ios_base& stream)

The right function is a manipulator that selects right-alignment for output to stream. The function calls stream.setf(ios_base::right, ios_base::adjustfield) and returns stream.