cpp/io/manip/showpos

Enables or disables the display of the plus sign in non-negative integer output. Has no effect on input.

1) enables the flag in the stream  as if by calling

2) disables the flag in the stream  as if by calling

This is an I/O manipulator, it may be called with an expression such as for any  of type std or with an expression such as  for any  of type std.

Return value
(reference to the stream after manipulation)