unsetf
Unsetf is a member function of the C++ standard library’s I/O stream base class (std::ios_base) and all derived stream types. It clears the format flags currently set on a stream by unsetting the bits specified by its argument. The operation affects only the stream’s format state and does not modify other aspects of the stream.
Format flags are defined in std::ios_base::fmtflags and include both individual flags (such as boolalpha, showbase, showpoint,
Usage examples illustrate common patterns. For instance, to revert floating-point formatting after using fixed or scientific,
Unsetf is often used together with setf to switch between formats and then return to defaults. It