Difference between revisions of "cpp/io/manip/resetiosflags"
From cppreference.com
(+) |
m (typo) |
||
Line 5: | Line 5: | ||
}} | }} | ||
− | When used in an expression {{cpp|out << resetiosflags(mask)}} or {{cpp|in >> resetiosflags(mask)}}, | + | When used in an expression {{cpp|out << resetiosflags(mask)}} or {{cpp|in >> resetiosflags(mask)}}, clears all format flags of the stream {{tt|out}} or {{tt|in}} as specified by the {{tt|mask}}. |
===Parameters=== | ===Parameters=== |
Revision as of 20:54, 12 January 2012
Defined in header <iomanip>
|
||
/*unspecified*/ resetiosflags( std::ios_base::fmt_flags mask ); |
||
When used in an expression Template:cpp or Template:cpp, clears all format flags of the stream out
or in
as specified by the mask
.
Contents |
Parameters
mask | - | bitmask of the flags to clear |
Return value
Returns an object of unspecified type such that if str
is the name of an output stream of type Template:cpp or Template:cpp, then the expression Template:cpp or Template:cpp behaves as if the following code was executed: