Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/manip/resetiosflags"

From cppreference.com
< cpp‎ | io‎ | manip
(+)
 
m (typo)
Line 5: Line 5:
 
}}
 
}}
  
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}}}.
+
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

Template:cpp/io/manip/sidebar

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:

Template:cpp

Example

Template:example cpp

See also

Template:cpp/io/ios base/dcl list setfTemplate:cpp/io/manip/dcl list setiosflags