다음을 통해 공유


noshowpos

Causes positive numbers to not be explicitly signed.

ios_base& noshowpos(
   ios_base& _Str
);

Parameters

  • _Str
    A reference to an object of type ios_base, or to a type that inherits from ios_base.

Return Value

A reference to the object from which _Str is derived.

Remarks

noshowpos is on by default.

The manipulator effectively calls _Str.unsetf(ios_base::showps), then returns _Str.

Example

See showpos for an example of using noshowpos.

Requirements

Header: <ios>

Namespace: std

See Also

Concepts

<ios> Members

iostream Programming

iostreams Conventions