Name

setiosflags function — Sets specified flags

Synopsis

                  manip_t 
                  setiosflags(ios_base::fmtflags mask)

The setiosflags function sets the flag bits in mask for a stream. In other words, it performs the equivalent of stream .setf(mask).

See Also

resetiosflags function, ios_base in <ios>

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.