To set the stream format flags.
smanip setiosflags(ios_base::fmtflags mask)
Use the manipulator setiosflags() to set the input and output formatting flags directly in the stream.
A smanip type is returned, which is an implementation defined type.
ios_base::setf(), ios_base::unsetf()
For example of setiosflags() usage see resetiosflags