This manipulator behaves like the stream's member ios_base::unsetf.
This manipulator is declared in header <iomanip>, along with the other parameterized manipulators: setiosflags, setbase, setfill, setprecision and setw. This header file declares the implementation-specific smanip type, plus any additional operator overload function needed to allow these manipulators to be inserted and extracted to/from streams with their parameters.
- Mask representing the flags to be reset.
This is an object of type ios_base::fmtflags which can take any combination of its possible values (see ios_base::fmtflags).
Return ValueUnspecified. This function should only be used as a stream manipulator.
This code first sets the showbase flag and then resets it using the resetiosflags manipulator. The execution of this example displays something similar to:
|setiosflags||Set format flags (manipulator function)|
|ios_base::unsetf||Clear specific format flags (public member function)|
|ios_base::flags||Get/set format flags (public member function)|