Freigeben über


setiosflags

Sets the specified flags.

T2 setiosflags(
   ios_base::fmtflags _Mask
);

Parameters

  • _Mask
    The flags to set.

Return Value

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

Example

See setw for an example of using setiosflags.

Requirements

Header: <iomanip>

Namespace: std

See Also

Concepts

<iomanip> Members

iostream Programming

iostreams Conventions