basic_ios::init
Called by basic_ios constructors.
void init(
basic_streambuf<Elem,Traits> *_Sb,
bool _Isstd = false
);
Parameters
_Sb
Standard buffer to store input or output elements._Isstd
Specifies whether this is a standard stream.
Remarks
The member function stores values in all member objects, so that:
rdbuf returns _Sb.
tie returns a null pointer.
rdstate returns goodbit if _Sb is nonzero; otherwise, it returns badbit.
exceptions returns goodbit.
width returns 0.
precision returns 6.
fill returns the space character.
getloc returns locale::classic.
iword returns zero, and pword returns a null pointer for all argument values.
Requirements
Header: <ios>
Namespace: std