次の方法で共有


ios_base::unsetf

Causes the specified flags to be off.

void unsetf(
   fmtflags _Mask
);

Parameters

  • _Mask
    The flags that you want off.

Remarks

The member function effectively calls flags(~_Mask & flags) (clear selected bits).

Example

See ios_base::setf for a sample of using unsetf.

Requirements

Header: <ios>

Namespace: std

See Also

Concepts

ios_base Class

ios_base Members

iostream Programming

iostreams Conventions