共用方式為


resetiosflags

Clears the specified flags.

T1 resetiosflags( 
   ios_base::fmtflags _Mask 
);

Parameters

  • _Mask
    The flags to clear.

Return Value

The manipulator returns an object that, when extracted from or inserted into the stream str, calls str.setf(ios_base::fmtflags, _Mask), and then returns str.

Example

See setw for an example of using resetiosflags.

Requirements

Header: <iomanip>

Namespace: std

See Also

Reference

iostream Programming

iostreams Conventions