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