ios_base& oct(ios_base& str);
The manipulator effectively calls str.setf(ios_base:: oct, ios_base:: basefield), then returns str.
str.
setf
(ios_base::
oct
, ios_base::
basefield
)
str