basic_ios::basic_ios

explicit basic_ios(basic_streambuf<E, T>* sb);
basic_ios();

The first constructor initializes its member objects by calling init(sb). The second (protected) constructor leaves its member objects uninitialized. A later call to init must initialize the object before it can be safely destroyed.