State state() const;
void state( State st );
Manages the file position state.
1) Returns the value of the file position state.
2) Replaces the file position state with the value of st.
|st||-||new value for the state|
 Return value
1) The current value of the
The stream is in the initial shift state
 Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
|DR||Applied to||Behavior as published||Correct behavior|
|LWG 441||C++98||overload (1) was not declared const (it is const in the synopsis)||added const|
 See also
| conversion state information necessary to iterate multibyte character strings |