public member function
std::ios::ios
<ios>
public | explicit ios (streambuf * sb);
protected: ios ( );
|
---|
Construct object
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)
- ios_base::ios_base
- Construct object (public member function)