If called with the public syntax, the constructor sets the initial values to its member objects by calling
init(sb);
If invoked by a derived class using the default constructor (which is protected), it constructs an object leaving its members uninitialized. In this case the object shall be explicitly initialized calling
init.
Parameters
- sb
- pointer to a streambuf object.
Return Value
None (constructor).
Basic template member declaration
(
basic_ios<charT,traits> )
1 2
|
public: explicit basic_ios ( basic_streambuf<charT,traits>* sb );
protected: basic_ios ();
|
See also
| ios::init | Initialize object [protected] (protected member function) |